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

Error while decoding url parameters with percent character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 17.12, Trunk
    • 17.12.05, 18.12.01
    • base
    • 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. Screenshot from 2020-09-14 12-02-00.png
          162 kB
          Pradeep Choudhary
        2. OFBIZ-12014.patch
          0.7 kB
          Pradeep Choudhary

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: