From 4f41094153817d26eb81b1e96c95b0cc50b9492a Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Fri, 25 Jan 2013 17:58:13 -0300 Subject: escaped request.path in the urls --- askbot/templates/users.html | 8 ++++---- askbot/templates/widgets/footer.html | 2 +- askbot/templates/widgets/user_navigation.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/askbot/templates/users.html b/askbot/templates/users.html index a1c4ed11..09a2c117 100644 --- a/askbot/templates/users.html +++ b/askbot/templates/users.html @@ -31,26 +31,26 @@ {% if settings.KARMA_MODE == 'public' %} {% trans %}karma{% endtrans %} {% endif %} {% trans %}recent{% endtrans %} {% trans %}oldest{% endtrans %} {% trans %}by username{% endtrans %} diff --git a/askbot/templates/widgets/footer.html b/askbot/templates/widgets/footer.html index 6eb3afc2..75721e50 100644 --- a/askbot/templates/widgets/footer.html +++ b/askbot/templates/widgets/footer.html @@ -46,7 +46,7 @@ "{{settings.FEEDBACK_SITE_URL}}" target="_blank"> {% else %} - "{% url feedback %}?next={{request.path}}"> + "{% url feedback %}?next={{request.path|escape}}"> {% endif %} {% trans %}give feedback{% endtrans %} diff --git a/askbot/templates/widgets/user_navigation.html b/askbot/templates/widgets/user_navigation.html index 4cb6314a..9cde343c 100644 --- a/askbot/templates/widgets/user_navigation.html +++ b/askbot/templates/widgets/user_navigation.html @@ -17,7 +17,7 @@ {% trans %}sign out{% endtrans %} {% endif %} {% elif settings.USE_ASKBOT_LOGIN_SYSTEM %} - {% trans %}Hi there! Please sign in{% endtrans %} + {% trans %}Hi there! Please sign in{% endtrans %} {% endif %} {% if request.user.is_authenticated() and request.user.is_administrator() %} {% trans %}settings{% endtrans %} -- cgit v1.2.3-1-g7c22