Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-3221

OpenIG is decoding special character ' while sending to the backend which is causing issues

    XMLWordPrintable

    Details

    • Support Ticket IDs:
    • Sprint:
      OpenIG Sprint 138 (7.0 init), OpenIG Sprint 139, OpenIG Sprint 141, 2019.5 - OpenIG
    • Story Points:
      3

      Description

      OpenIG is decoding special character ' while sending to the backend which can cause issues:

       

      https://www.test.example.com/en/personal/?a=%27test

      When passing this URL in the browser , at tomcat level the URL is properly carried to the IG as below :

      TOMCAT Logs :

      "GET /en/personal/?a=%27test HTTP/1.1" 400 - "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36" "-" - 0.009 - -

      In the route Log of OpenIG :

      GET http://localhost:10015/en/person*al/?a='test* HTTP/1.1

       

      In the above URL %27 is decoded to ' and is being transferred to the backend which is causing issues with all the URLS which have an accented character in it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              guillaume.sauthier Guillaume Sauthier
              Reporter:
              jdewer James Dewer
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: