Larry McCay created KNOX-820:
--------------------------------

             Summary: 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: Larry McCay
             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