Bug 53698

Summary: POST data lost when appending charset to header Content-Type application/x-www-form-urlencoded
Product: Apache httpd-2 Reporter: Petter Berntsen <petterb>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Severity: normal Keywords: FixedInTrunk
Priority: P2    
Version: 2.4.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Petter Berntsen 2012-08-12 07:17:04 UTC
Posting data when Content-Type is "application/x-www-form-urlencoded" works.

But when appending charset, fx. "application/x-www-form-urlencoded; charset=UTF-8", the body disappears.

Humbedooh has tracked this down to ap_parse_form_data() in server/util.c
Comment 1 Daniel Gruno 2012-08-12 07:54:01 UTC
We did some rather strict checking of the content type. I've applied some changes to trunk to make this check more lenient and accept an appended charset.

Happy programming :)
Comment 2 Rainer Jung 2012-08-21 15:49:44 UTC
Fixed in 2.4.3.