View Issue Details

IDProjectCategoryView StatusLast Update
0004538libmicrohttpdcompliancepublic2016-06-03 07:19
ReporterReonaydo Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product VersionGit master 
Target Version0.9.50Fixed in Version0.9.50 
Summary0004538: RFC ignoration
Descriptionlibmicrohttpd ignores RFC about headsers case insensivity

https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

All header names can be any case but libmicrohttp understand only Camel Case
TagsNo tags attached.

Activities

Christian Grothoff

2016-05-30 22:55

manager   ~0010794

I am confused. If you look at MHD_lookup_connection_value(), it explicitly uses MHD_str_equal_caseless_(). Could you give a specific example where case is not properly ignored?

Reonaydo

2016-05-31 02:55

reporter   ~0010797

When I send header CONTENT-LENGTH and POST data server does not get this POST.
When I repleacing to Content-Length it starts working

Christian Grothoff

2016-05-31 05:28

manager   ~0010798

Which version are you testing? I've visually inspected the code and it seems fine.

Reonaydo

2016-05-31 10:36

reporter   ~0010809

Soryy. Our developers found bug in another place. Please close this issue

Issue History

Date ModifiedUsernameFieldChange
2016-05-26 11:46ReonaydoNew Issue
2016-05-30 22:55Christian GrothoffNote Added: 0010794
2016-05-30 22:55Christian GrothoffStatusnew => feedback
2016-05-31 02:55ReonaydoNote Added: 0010797
2016-05-31 02:55ReonaydoStatusfeedback => new
2016-05-31 05:28Christian GrothoffNote Added: 0010798
2016-05-31 05:28Christian GrothoffCategorylibmicrohttpd internal select => compliance
2016-05-31 05:28Christian GrothoffStatusnew => feedback
2016-05-31 10:36ReonaydoNote Added: 0010809
2016-05-31 10:36ReonaydoStatusfeedback => new
2016-05-31 11:18Christian GrothoffAssigned To => Christian Grothoff
2016-05-31 11:18Christian GrothoffStatusnew => closed
2016-05-31 11:18Christian GrothoffResolutionopen => no change required
2016-05-31 11:18Christian GrothoffProduct Version => Git master
2016-05-31 11:18Christian GrothoffFixed in Version => Git master
2016-05-31 11:18Christian GrothoffTarget Version => Git master
2016-06-03 07:19Christian GrothoffFixed in VersionGit master => 0.9.50
2016-06-03 07:19Christian GrothoffTarget VersionGit master => 0.9.50