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

ASF subversion and git services commented on KNOX-820:
------------------------------------------------------

Commit a7351ae7a7af0fabb621196b84bf512fba2c712e in knox's branch 
refs/heads/master from [~sumit.gupta]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=a7351ae ]

KNOX-820 Changed the originalUrl parsing so that multiple query params get 
included


> Knox query processing: If the originalUrl value has "ampersand"(&) in it, the 
> value after ampersand is ignored.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: KNOX-820
>                 URL: https://issues.apache.org/jira/browse/KNOX-820
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Larry McCay
>            Assignee: Sumit Gupta
>             Fix For: 0.11.0
>
>
> From Sharmadha Sainath offline:
> Example URL is: 
> https://ctr-e64-1480733150053-8567-01-000002.hwx.site:8443/gateway/knoxsso/knoxauth/login.html?originalUrl=http://ctr-e64-1480733150053-8567-01-000002.hwx.site:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table
> After providing the username and password, the above page gets redirected to 
> "ctr-e64-1480733150053-8567-01-000002.hwx.site:21000/api/atlas/discovery/search/dsl?limit=25",
>  leaving "query=hive_table". This seems to be an issue with knox query 
> processing.
> Original query:
> http://ctr-e64-1480733150053-8567-01-000002.hwx.site:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table
> Redirects to
> https://ctr-e64-1480733150053-8567-01-000002.hwx.site:8443/gateway/knoxsso/knoxauth/login.html?originalUrl=http://ctr-e64-1480733150053-8567-01-000002.hwx.site:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table
> Enclosed the URL 
> http://ctr-e64-1480733150053-8567-01-000002.hwx.site:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table
>  with double quotes and encoded it and gave it as original URL . Still it 
> doesn't work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to