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

Error while decoding url parameters with percent character

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

            pradeep.choudhary1994 Pradeep Choudhary created issue -
            pradeep.choudhary1994 Pradeep Choudhary made changes -
            Field Original Value New Value
            Link This issue is broken by OFBIZ-11822 [ OFBIZ-11822 ]
            pradeep.choudhary1994 Pradeep Choudhary made changes -
            Attachment Screenshot from 2020-09-14 12-02-00.png [ 13011472 ]
            pradeep.choudhary1994 Pradeep Choudhary made changes -
            Link This issue is related to OFBIZ-10275 [ OFBIZ-10275 ]
            surajk Suraj Khurana made changes -
            Priority Trivial [ 5 ] Major [ 3 ]
            jleroux Jacques Le Roux made changes -
            Assignee Jacques Le Roux [ jacques.le.roux ]
            pradeep.choudhary1994 Pradeep Choudhary made changes -
            Attachment OFBIZ-12014.patch [ 13011474 ]
            jleroux Jacques Le Roux made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jleroux Jacques Le Roux made changes -
            Fix Version/s 18.12.01 [ 12344762 ]
            Fix Version/s 17.12.05 [ 12348573 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]

            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: