Merged in [19494] from lars@eggert.org:

URL-encode the link to a person's public profile, fixing validation errors.
 - Legacy-Id: 19528
Note: SVN reference [19494] has been migrated to Git commit 4ed19e1bba
This commit is contained in:
Robert Sparks 2021-11-02 18:01:51 +00:00
commit 527b0b05cd

View file

@ -17,7 +17,7 @@
{% if user.is_authenticated %}
<li><a rel="nofollow" href="/accounts/logout/" >Sign out</a></li>
<li><a rel="nofollow" href="/accounts/profile/">Account info</a></li>
<li><a href="/person/{{user.person.name}}">Public profile page</a></li>
<li><a href="/person/{{user.person.name|urlencode}}">Public profile page</a></li>
<li><a href="{%url "ietf.cookies.views.preferences" %}" rel="nofollow">Preferences</a></li>
<li><a href="{%url "ietf.ietfauth.views.apikey_index" %}" rel="nofollow">API keys</a></li>
<li><a rel="nofollow" href="/accounts/password/">Change password</a></li>
@ -69,4 +69,4 @@
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>RFC Editor</li>
<li><a href="{% url "ietf.sync.views.discrepancies" %}">Sync discrepancies</a></li>
{% endif %}
{% if flavor == "top" %}</ul>{% endif %}
{% if flavor == "top" %}</ul>{% endif %}