You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2016/03/18 11:19:33 UTC
[jira] [Updated] (SOLR-8870) AngularJS Query tab breaks through
proxy
[ https://issues.apache.org/jira/browse/SOLR-8870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/SOLR-8870
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org