View Issue Details

IDProjectCategoryView StatusLast Update
0002733libmicrohttpdpostprocessorpublic2021-09-02 15:54
ReporterBlackSpark Assigned ToChristian Grothoff Due Date
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWindows 
Product Version0.9.24 
Target Version0.9.25Fixed in Version0.9.25 
Summary0002733: Last key of url-encoded post data is not recognized if value is empty
DescriptionIf we have post data like

key1=value1&key2=

then the post processor doesn't call the iterator for the second key so that the application isn't aware of the second key-value pair. If the second value is not empty, the iterator is called as usual. If the empty value is not at the end of the uploaded data as in

key1=&key2=value2

then both key-value pairs are passed to the iterator which should be the desired behaviour.

I think the iterator should always be called for every key-value pair, independently of empty values.
TagsNo tags attached.

Activities

Christian Grothoff

2013-02-01 09:01

manager   ~0006822

Testcase reproducing the issue in SVN 25971.

Christian Grothoff

2013-02-01 09:20

manager   ~0006823

Fixed in SVN 25972.

Christian Grothoff

2021-09-02 15:54

manager   ~0018214

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2013-01-14 14:30BlackSparkNew Issue
2013-01-29 20:36Christian GrothoffAssigned To => Christian Grothoff
2013-01-29 20:36Christian GrothoffStatusnew => assigned
2013-01-29 20:45Christian GrothoffPrioritynormal => urgent
2013-01-29 20:45Christian GrothoffTarget Version => 0.9.25
2013-02-01 09:01Christian GrothoffNote Added: 0006822
2013-02-01 09:20Christian GrothoffNote Added: 0006823
2013-02-01 09:20Christian GrothoffStatusassigned => resolved
2013-02-01 09:20Christian GrothoffFixed in Version => 0.9.25
2013-02-01 09:20Christian GrothoffResolutionopen => fixed
2013-02-08 01:41Christian GrothoffStatusresolved => closed
2013-05-06 10:53Christian GrothoffCategorypostprocessor => libmicrohttpd postprocessor
2021-09-02 15:54Christian Grothoff
2021-09-02 15:54Christian GrothoffNote Added: 0018214
2024-01-21 12:24Christian GrothoffCategorylibmicrohttpd postprocessor => postprocessor