mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
Fix XSS when searching skinlib
This commit is contained in:
parent
2ea4920851
commit
f29ab3042d
@ -212,7 +212,7 @@ function updateBreadCrumb() {
|
||||
$('#sort-indicator').html(trans('skinlib.sort.' + $.skinlib.sort));
|
||||
|
||||
if ($.skinlib.keyword != '') {
|
||||
$('#search-indicator').html(trans('general.searchResult', {
|
||||
$('#search-indicator').text(trans('general.searchResult', {
|
||||
keyword: decodeURI($.skinlib.keyword)
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user