lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Matheis (steffkes) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4176) analysis ui: javascript not properly handling URL decoding of input
Date Wed, 19 Dec 2012 18:31:16 GMT

     [ https://issues.apache.org/jira/browse/SOLR-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Matheis (steffkes) updated SOLR-4176:
--------------------------------------------

    Attachment: SOLR-4176.patch

that is really a small patch .. but i'm still not really sure why this url-decoding was in
place .. before committing that one, i'll check that, just to be sure that there is no regression
                
> 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
>         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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message