You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sumit Gupta (JIRA)" <ji...@apache.org> on 2017/01/27 18:01:24 UTC

[jira] [Resolved] (KNOX-820) Knox query processing: If the originalUrl value has "ampersand"(&) in it, the value after ampersand is ignored.

     [ https://issues.apache.org/jira/browse/KNOX-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Gupta resolved KNOX-820.
------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 0.11.0)
                   0.12.0

> 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.12.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)