SOLR-10975: New Admin UI Query does not URL-encode the query produced in the URL box

This commit is contained in:
Jan Høydahl 2018-12-14 15:30:39 +01:00
parent f8fcdbb208
commit bfd28a8b3a
2 changed files with 3 additions and 1 deletions

View File

@ -177,6 +177,8 @@ Bug Fixes
* SOLR-11296: Spellcheck parameters not working in new UI (Matt Pearce via janhoy)
* SOLR-10975: New Admin UI Query does not URL-encode the query produced in the URL box (janhoy)
Improvements
----------------------

View File

@ -235,7 +235,7 @@ solrAdminServices.factory('System',
for (key in params) {
if (key != "core" && key != "handler") {
for (var i in params[key]) {
qs.push(key + "=" + params[key][i]);
qs.push(key + "=" + encodeURIComponent(params[key][i]));
}
}
}