Bug 61124 - ap_parse_form_data does not translate URL escaped form data correctly on EBCDIC systems
Summary: ap_parse_form_data does not translate URL escaped form data correctly on EBCD...
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk, PatchAvailable
Depends on:
Blocks:
 
Reported: 2017-05-25 19:19 UTC by Hank Ibell
Modified: 2017-05-27 20:16 UTC (History)
0 users



Attachments
Proposed patch (1.55 KB, patch)
2017-05-25 19:21 UTC, Hank Ibell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.