Description
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.
Attachments
Issue Links
- is duplicated by
-
ATLAS-1368 Knox query processing: If the originalUrl value has "ampersand"(&) in it, the value after ampersand is ignored.
- Resolved