mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 14:35:48 +08:00
SECURITY: fix possible XSS with badges (#6912)
This commit is contained in:
parent
6f0bc16baf
commit
52f2e0d6b9
|
@ -16,7 +16,7 @@
|
|||
<form class="form-horizontal">
|
||||
<div>
|
||||
<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>{{i18n 'admin.badges.reason'}}</label>
|
||||
|
|
Loading…
Reference in New Issue
Block a user