Skip to content

Commit

Permalink
fix security issue in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Coto committed Jan 27, 2014
1 parent 0c77e5b commit e58e07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bp_admin/templates/admin_users_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="navbar-inner">
<form method="GET" class="navbar-search">
<span class="badge"> {{ count }}&nbsp</span>
<input type="text" name="q" value="{{ q or '' }}" class="input-medium search-query" placeholder="{{ _('Search User') }}" />
<input type="text" name="q" value="{{ q|e }}" class="input-medium search-query" placeholder="{{ _('Search User') }}" />
<button type="submit" title="Search"><i class="icon-search"></i></button>
{% if q %}
<a href="{{ uri_for('admin-users-list') }}" class="clear">×</a>
Expand Down

0 comments on commit e58e07f

Please sign in to comment.