Apache Lucene open-source search software
SOLR-4176: analysis ui: javascript not properly handling URL decoding of input
Stefan Matheisf51a29707f99
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 152ed1fe5de..a2a84217e7b 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -448,6 +448,10 @@ Bug Fixes* SOLR-4045: SOLR admin page returns HTTP 404 on core names containinga '.' (dot) (steffkes)+* SOLR-4176: analysis ui: javascript not properly handling URL decoding+ of input (steffkes)++Other Changes----------------------diff --git a/solr/webapp/web/js/scripts/analysis.js b/solr/webapp/web/js/scripts/analysis.jsindex ede8ba707ea..4736c2dc1e0 100644--- a/solr/webapp/web/js/scripts/analysis.js+++ b/solr/webapp/web/js/scripts/analysis.js@@ -129,7 +129,7 @@ sammy.get{fields++;$( '[name="' + key + '"]', analysis_form )- .val( decodeURIComponent( context.params[key].replace( /\+/g, '%20' ) ) );+ .val( context.params[key].replace( /\+/g, ' ' ) );}}