Skip to content

Commit a36238e

Browse files
committed
can't handle query strings in redirect if also handling special characters in path
1 parent 3e1011f commit a36238e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sopy/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</ul>
3030
<ul class="nav navbar-nav navbar-right">
3131
{% if current_user.anonymous %}
32-
<li><a href="{{ url_for('auth.login', next=request.full_path if request.query_string else request.path) }}">Log In</a></li>
32+
<li><a href="{{ url_for('auth.login', next=request.path) }}">Log In</a></li>
3333
{% else %}
3434
<li class="{% block nav_user %}{% endblock %}"><a href="#">{{ current_user.display_name }}</a></li>
3535
<li><a href="{{ url_for('auth.logout') }}">Log Out</a></li>

0 commit comments

Comments
 (0)