Merge "Escape the region name before passing as value in URL."

This commit is contained in:
Jenkins 2013-03-02 02:25:00 +00:00 committed by Gerrit Code Review
commit db410ce91a

View File

@ -7,7 +7,7 @@
<li class='divider'></li>
{% for region in regions.available %}
{% if region.name != regions.current.name %}
<li><a class="ajax-modal" href="{% url login %}?region={{ region.endpoint }}">{{ region.name }}</a></li>
<li><a class="ajax-modal" href="{% url login %}?region={{ region.endpoint|urlencode }}">{{ region.name }}</a></li>
{% endif %}
{% endfor %}
</ul>