You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ayub Khan (JIRA)" <ji...@apache.org> on 2016/12/12 14:18:00 UTC

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

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

Ayub Khan updated ATLAS-1368:
-----------------------------
    Summary: Knox query processing: If the originalUrl value has "ampersand"(&) in it, the value after ampersand is ignored.  (was: Problem with nested parameters in Atlas search query )

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)