Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12014

Error while decoding url parameters with percent character

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 17.12, Trunk
    • Fix Version/s: 18.12.01, 17.12.05
    • Component/s: base
    • Labels:
      None

      Description

      When we pass any URL parameter with a percent character, it throws an exception stating the following message:
      "java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "

      Steps to regenerate:
      1. Open web tools.
      2. Navigate to Order Manager component https://localhost:8443/ordermgr/control/findorders
      3. Search order by entering order Id like %Test%.
      4. It will show an error message "java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "Te"

        Attachments

        1. OFBIZ-12014.patch
          0.7 kB
          Pradeep Choudhary
        2. Screenshot from 2020-09-14 12-02-00.png
          162 kB
          Pradeep Choudhary

          Issue Links

            Activity

              People

              • Assignee:
                jleroux Jacques Le Roux
                Reporter:
                pradeep.choudhary1994 Pradeep Choudhary
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: