mirror of https://github.com/apache/lucene.git
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:
parent
c1e35f1b82
commit
bff085d540
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue