lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Updated] (SOLR-8870) AngularJS Query tab breaks through proxy
Date Fri, 18 Mar 2016 10:19:33 GMT


Jan Høydahl updated SOLR-8870:
    Attachment: SOLR-8870.patch

Attaching patch which avoids encoding handler part. It also checks whether the handler starts
with "/", and if not, adds handler name as {{&qt}} param with {{/select}} as hardcoded
handler. Tested locally on master.

> AngularJS Query tab breaks through proxy
> ----------------------------------------
>                 Key: SOLR-8870
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 5.5
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Minor
>              Labels: 404-error, angularjs, encoding, newdev
>         Attachments: SOLR-8870.patch
> The AngularJS Query tab generates a request URL on this form: http://localhost:8983/solr/techproducts%2Fselect?_=1458291250691&indent=on&q=ram&wt=json
Notice the urlencoded {{%2Fselect}} part.
> This works well locally with Jetty, but a customer has httpd as a proxy in front, and
we get a 404 error since the web server does not parse {{%2F}} as a path separator and thus
does not match the proxy rules for select.

This message was sent by Atlassian JIRA

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

View raw message