[
https://issues.apache.org/jira/browse/ATLAS-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj resolved ATLAS-1368.
-------------------------------------
Resolution: Duplicate
Fixed in https://issues.apache.org/jira/browse/KNOX-820
> Knox query processing: If the originalUrl value has "ampersand"(&) in it, the
> value after ampersand is ignored.
> ---------------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-1368
> URL: https://issues.apache.org/jira/browse/ATLAS-1368
> Project: Atlas
> Issue Type: Bug
> Reporter: Sharmadha Sainath
> Priority: Critical
>
> Example URL is:
> knoxgateway:port/knoxsso/knoxauth/login.html?originalUrl=atlashost:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table
>
> After providing the username and password, the above page gets redirected to
> "atlashost:21000/api/atlas/discovery/search/dsl?limit=25", leaving
> "query=hive_table". This seems to be an issue with knox query processing.
> Original query:
> atlashost:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table
> Redirects to
> knoxgateway:port/knoxsso/knoxauth/login.html?originalUrl=atlashost:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table
>
> Enclosed the URL
> atlashost: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.15#6346)