[
https://issues.apache.org/jira/browse/OFBIZ-12014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195233#comment-17195233
]
Pradeep Choudhary commented on OFBIZ-12014:
-------------------------------------------
Attached patch to revert the changes done under
OFBIZ-11822[https://issues.apache.org/jira/browse/OFBIZ-11822]
It will use the canonicalize method just for warning and the original parameter
string will be decoded.
> 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
> Assignee: Jacques Le Roux
> Priority: Major
> Attachments: OFBIZ-12014.patch, Screenshot from 2020-09-14
> 12-02-00.png
>
>
> 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)