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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Support Ticket IDs:
    • Sprint:
      OpenIG Sprint 138 (7.0 init), OpenIG Sprint 139, OpenIG Sprint 141

      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

          Activity

            People

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

              Dates

              • Created:
                Updated: