You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by st...@apache.org on 2013/01/05 12:05:50 UTC

svn commit: r1429262 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/CHANGES.txt solr/webapp/ solr/webapp/web/js/scripts/analysis.js

Author: steffkes
Date: Sat Jan  5 11:05:49 2013
New Revision: 1429262

URL: http://svn.apache.org/viewvc?rev=1429262&view=rev
Log:
SOLR-4176: analysis ui: javascript not properly handling URL decoding of input (merge r1429261)

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/CHANGES.txt   (contents, props changed)
    lucene/dev/branches/branch_4x/solr/webapp/   (props changed)
    lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/analysis.js

Modified: lucene/dev/branches/branch_4x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/CHANGES.txt?rev=1429262&r1=1429261&r2=1429262&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_4x/solr/CHANGES.txt Sat Jan  5 11:05:49 2013
@@ -425,6 +425,10 @@ Bug Fixes
 * SOLR-4045: SOLR admin page returns HTTP 404 on core names containing
   a '.' (dot) (steffkes)
 
+* SOLR-4176: analysis ui: javascript not properly handling URL decoding
+  of input (steffkes)
+  
+
 Other Changes
 ----------------------
 

Modified: lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/analysis.js
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/analysis.js?rev=1429262&r1=1429261&r2=1429262&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/analysis.js (original)
+++ lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/analysis.js Sat Jan  5 11:05:49 2013
@@ -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, ' ' ) );
                 }
               }