mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 14:43:44 +08:00
SECURITY: fix possible XSS with badges (#6912)
This commit is contained in:
parent
d72d51711e
commit
6418caf700
|
@ -16,7 +16,7 @@
|
||||||
<form class="form-horizontal">
|
<form class="form-horizontal">
|
||||||
<div>
|
<div>
|
||||||
<label>{{i18n 'admin.badges.badge'}}</label>
|
<label>{{i18n 'admin.badges.badge'}}</label>
|
||||||
{{combo-box filterable=true value=selectedBadgeId content=grantableBadges}}
|
{{combo-box forceEscape=true filterable=true value=selectedBadgeId content=grantableBadges}}
|
||||||
</div>
|
</div>
|
||||||
<label>
|
<label>
|
||||||
<label>{{i18n 'admin.badges.reason'}}</label>
|
<label>{{i18n 'admin.badges.reason'}}</label>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user