SOLR-4949: UI Analysis page dropping characters from input box

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495829 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Matheis 2013-06-23 15:25:46 +00:00
parent c1e35f1b82
commit bff085d540
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ sammy.get
.replace( /[\w\.]+=\+*(&)/g, '$1' ) // remove empty parameters
.replace( /(&)+/, '$1' ) // reduce multiple ampersands
.replace( /^&/, '' ) // remove leading ampersand
.replace( /\+/, '%20' ); // replace plus-signs with encoded whitespaces
.replace( /\+/g, '%20' ); // replace plus-signs with encoded whitespaces
context.redirect( context.path.split( '?' ).shift() + '?' + params );
return false;