SOLR-4176: analysis ui: javascript not properly handling URL decoding of input

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429261 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Matheis 2013-01-05 11:04:55 +00:00
parent 8172b5d535
commit f51a29707f
2 changed files with 5 additions and 1 deletions

View File

@ -448,6 +448,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
----------------------

View File

@ -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, ' ' ) );
}
}