[
https://issues.apache.org/jira/browse/SOLR-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544721#comment-13544721
]
Stefan Matheis (steffkes) commented on SOLR-4176:
-------------------------------------------------
trunk: r1429261
branch_4x: r1429262
> analysis ui: javascript not properly handling URL decoding of input
> -------------------------------------------------------------------
>
> Key: SOLR-4176
> URL: https://issues.apache.org/jira/browse/SOLR-4176
> Project: Solr
> Issue Type: Bug
> Components: web gui
> Affects Versions: 4.0
> Reporter: Hoss Man
> Assignee: Stefan Matheis (steffkes)
> Fix For: 4.1
>
> Attachments: SOLR-4176.patch
>
>
> attempting to input values containing "%" in the analysis UI causes errors.
> Example of the bug, using the solr example configs...
> 1) load http://localhost:8983/solr/#/collection1/analysis in a browser
> 2) select field type "text_general"
> 3) enter into either text box: {{{foo%bar}}
> 4) click the "Analyze Values" button.
> results...
> * Window location is updated to be:
> http://localhost:8983/solr/#/collection1/analysis?analysis.fieldvalue=foo%25bar&analysis.query=&analysis.fieldtype=text_general&verbose_output=1
> ** Note: "%" has been properly encoded in URL
> * page does not display any analyis, and text areas are now empty (although
> text_general field type is still selected)
> * web dev error console indicates...{noformat}Error: URIError: malformed URI
> sequence
> Source File: http://localhost:8983/solr/js/scripts/analysis.js
> Line: 132
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]