Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1368

Knox query processing: If the originalUrl value has "ampersand"(&) in it, the value after ampersand is ignored.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: