Bug 61124

Summary: ap_parse_form_data does not translate URL escaped form data correctly on EBCDIC systems
Product: Apache httpd-2 Reporter: Hank Ibell <hwibell>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: FixedInTrunk, PatchAvailable
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Proposed patch

Description Hank Ibell 2017-05-25 19:19:30 UTC
ap_parse_form_data assumes form data is in the ASCII character encoding causing URL escaped data to not be translated properly.

For example, '%2F' is translated to 'Ϋ' instead of '/'.
Comment 1 Hank Ibell 2017-05-25 19:21:46 UTC
Created attachment 35008 [details]
Proposed patch

Proposed patch uses x2c to do hex to character conversions.
Comment 2 Eric Covener 2017-05-27 20:16:50 UTC
Thanks, fixed in 1796446 and 1796447.