View Issue Details

IDProjectCategoryView StatusLast Update
0003371libmicrohttpdcompliancepublic2021-09-02 17:54
Reportereworm Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformallOSall 
Product Version0.9.34 
Target Version0.9.35Fixed in Version0.9.35 
Summary0003371: wrong handling of '+' in unescape for path
DescriptionMHD_http_unescape always converts '+' (plus character) to ' ' (space character). This is wrong behavior. Space is allowed to be converted to '+' in query part of an URL, but not in path. So

http://www.example.com/path/foo+bar/path?query+name=query+value

has to be unescaped to these parts:

http://www.example.com/path/foo+bar/path
query name=query value

See [0] for details. Special case '+' is only listed for query part.

[0] http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
Steps To ReproduceTry to get an url like printed above. Currently libmicrohttpd unescapes the url to:

http://www.example.com/path/foo bar/path

Which is wrong.
TagsNo tags attached.

Activities

Christian Grothoff

2014-04-10 09:43

manager   ~0008227

Fixed in SVN 33010.

Christian Grothoff

2021-09-02 17:54

manager   ~0018208

Fix committed to master branch.

Related Changesets

libmicrohttpd: master 14ca1719

2014-04-10 11:43

Christian Grothoff


Details Diff
fix 0003371 Affected Issues
0003371
mod - ChangeLog Diff File
mod - src/microhttpd/connection.c Diff File
mod - src/testcurl/test_process_arguments.c Diff File

Issue History

Date Modified Username Field Change
2014-04-09 14:37 eworm New Issue
2014-04-09 19:15 Christian Grothoff Assigned To => Christian Grothoff
2014-04-09 19:15 Christian Grothoff Status new => confirmed
2014-04-09 19:15 Christian Grothoff Category HTTP 1.1 request pipelining => compliance
2014-04-09 19:15 Christian Grothoff Target Version => 0.9.35
2014-04-10 09:43 Christian Grothoff Note Added: 0008227
2014-04-10 09:43 Christian Grothoff Status confirmed => resolved
2014-04-10 09:43 Christian Grothoff Fixed in Version => 0.9.35
2014-04-10 09:43 Christian Grothoff Resolution open => fixed
2014-05-02 20:52 Christian Grothoff Status resolved => closed
2021-09-02 17:54 Christian Grothoff Changeset attached => libmicrohttpd master 14ca1719
2021-09-02 17:54 Christian Grothoff Note Added: 0018208