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 10:45:33 UTC

[jira] [Commented] (SOLR-8870) AngularJS Query tab breaks through proxy

    [ https://issues.apache.org/jira/browse/SOLR-8870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201250#comment-15201250 ] 

Jan Høydahl commented on SOLR-8870:
-----------------------------------

Also, the AngularJS code for query panel does not handle qt not prefixed with slash at all (legacy handleSelect=true and qt=foo). It will simply generate a url with core name and qt concatenated together, causing a 404. I'll attempt to fix that as well.

> 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
>            Priority: Minor
>              Labels: 404-error, angularjs, encoding, newdev
>
> 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