lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Assigned] (SOLR-10975) New Admin UI Query does not URL-encode the query produced in the URL box
Date Fri, 14 Dec 2018 14:18:00 GMT


Jan Høydahl reassigned SOLR-10975:

    Assignee: Jan Høydahl

> New Admin UI Query does not URL-encode the query produced in the URL box
> ------------------------------------------------------------------------
>                 Key: SOLR-10975
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>    Affects Versions: 6.4.2
>            Reporter: Elaine Cario
>            Assignee: Jan Høydahl
>            Priority: Major
>             Fix For: master (8.0), 7.7
> We found that the new Admin UI (we're using 6.4.2) properly submits a query with non-alphanumeric
for searching, but that the clickable URL for that query does not contain URL-encoded characters.
 If using that URL to execute the query later, an incorrect query is executed.
> If you revert back to using the deprecated Admin UI, it works fine.
> To reproduce:
> Open the Query form in the Admin UI, and enter a query string containing punctuation
characters, e.g. "http://someuri#123", and click on debugQuery. 
> The debug shows the correct query in the raw query string. 
> {code}"\"http://someuri#123\""{code}
> The URL produced for the query however is not properly URL-encoded:
> {code}
> http://.../solr/collectionX/select?debugQuery=on&df=body&indent=on&q=%22http://someuri#123"&wt=json
> {code}
> If you click on this, the browser munges the query, and depending on the query and query
parser,  you may get a syntax error, the query string may get cut off, or you may get different
> Drop back to the old deprecated UI and do the same thing, and the URL produced is fully
> {code}
> http://.../solr/shardX/select?q=%22http%3A%2F%2Fsomeuri%23123%22&df=body&wt=json&indent=true&debugQuery=true
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message