You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Upayavira (JIRA)" <ji...@apache.org> on 2016/04/15 00:08:25 UTC

[jira] [Commented] (SOLR-8989) UI: Query screen can't handle query params that contain "=" (big problem trying to create link to pages that uses local params)

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

Upayavira commented on SOLR-8989:
---------------------------------

AngularJS is a bit more precise and thorough in what it expects when parsing a URL. The second equals isn't intended to be a URL component, rather a part of a parameter value. If you URL encode it (to a %3D), everything will work as you expect.


> UI: Query screen can't handle query params that contain "=" (big problem trying to create link to pages that uses local params)
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8989
>                 URL: https://issues.apache.org/jira/browse/SOLR-8989
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>
> * {{bin/solr -e cloud -noprompt}}
> * http://127.0.1.1:8983/solr/#/gettingstarted/query
> * if you type either of these into the "q" param box, both queries works: {noformat}
> {!lucene}foo
> {!lucene f=foo_s}foo
> {noformat}
> * if however you try to create a link to the UI page, only the first query works, the second gets confused by the equal sign and ignores everything after "f="
> ** http://127.0.1.1:8983/solr/#/gettingstarted/query?q=%7B!lucene%7Dfoo
> *** works
> ** http://127.0.1.1:8983/solr/#/gettingstarted/query?q=%7B!lucene+f=foo_s%7Dfoo
> *** breaks



--
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