You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2018/12/15 10:04:15 UTC

[23/34] lucene-solr:jira/http2: SOLR-11296: Spellcheck parameters not working in new UI

SOLR-11296: Spellcheck parameters not working in new UI

(cherry picked from commit 62edbf2e7da7af6d96d6c912379ee63c80459a70)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/bb2405ae
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/bb2405ae
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/bb2405ae

Branch: refs/heads/jira/http2
Commit: bb2405aec870974b5799520e8fb61bf56cf4b586
Parents: 62edbf2
Author: Jan Høydahl <ja...@apache.org>
Authored: Fri Dec 14 15:27:18 2018 +0100
Committer: Jan Høydahl <ja...@apache.org>
Committed: Fri Dec 14 15:27:18 2018 +0100

----------------------------------------------------------------------
 solr/CHANGES.txt                       | 2 ++
 solr/webapp/web/js/angular/services.js | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/bb2405ae/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index b4bdf37..34c9624 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
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/bb2405ae/solr/webapp/web/js/angular/services.js
----------------------------------------------------------------------
diff --git a/solr/webapp/web/js/angular/services.js b/solr/webapp/web/js/angular/services.js
index 8eb148f..3391221 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]));
                    }
                }
            }