SOLR-7920 XSS issue in old schema-browser page

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696161 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Upayavira 2015-08-16 19:29:15 +00:00
parent e5455614da
commit dc2f2295e0
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ sammy.bind
'types' : []
}
$( 'option[value="' + params.route_params.path + '"]', related_select_element )
$( 'option[value="' + params.route_params.path.esc() + '"]', related_select_element )
.attr( 'selected', 'selected' );
related_select_element