Skip to content

Commit 3ef8ea2

Browse files
author
Ilya Radchenko
committed
Urlencode make admin email, fixes #837
1 parent c07e01d commit 3ef8ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/views/admin/users.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3>Admin: Users</h3>
2828
{% if (user.account_level === 1) %}
2929
<b>YES</b>
3030
{% else %}
31-
<a href="/admin/make_admin?user={{user.email}}">Make Admin</a>
31+
<a href="/admin/make_admin?user={{user.email | url_encode}}">Make Admin</a>
3232
{% endif %}
3333
</td>
3434
<td>

0 commit comments

Comments
 (0)