diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index b4bdf373536..34c96246c9f 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -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 ---------------------- diff --git a/solr/webapp/web/js/angular/services.js b/solr/webapp/web/js/angular/services.js index 8eb148fb3ae..3391221e495 100644 --- a/solr/webapp/web/js/angular/services.js +++ b/solr/webapp/web/js/angular/services.js @@ -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])); } } }