atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayub Khan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1368) Knox query processing: If the originalUrl value has "ampersand"(&) in it, the value after ampersand is ignored.
Date Mon, 12 Dec 2016 14:20:58 GMT

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

Ayub Khan updated ATLAS-1368:
-----------------------------
    Description: 
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.



  was:
For example ,Atlas with Knox SSO redirects to Knox SSO login page with the original URL.

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


After providing credentials, it results in error "DSL Query cant be null" due to multiple
parameters like query , limit . It takes only the first parameter. If only query is given
, it works fine since limit is optional.

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.




> 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.4#6332)

Mime
View raw message