[ https://issues.apache.org/jira/browse/OFBIZ-12014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195216#comment-17195216 ]
Pradeep Choudhary commented on OFBIZ-12014: ------------------------------------------- Here, we have passed canonicalize output to URLDecoder.decode() method. Canonicalize, the method itself decodes the parameters and we are passing its output for further decoding, therefore it renders exception. > Error while decoding url parameters with percent character > ---------------------------------------------------------- > > Key: OFBIZ-12014 > URL: https://issues.apache.org/jira/browse/OFBIZ-12014 > Project: OFBiz > Issue Type: Bug > Components: base > Affects Versions: Release Branch 17.12, Trunk > Reporter: Pradeep Choudhary > Priority: Trivial > > 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" -- This message was sent by Atlassian Jira (v8.3.4#803005)