View Issue Details

IDProjectCategoryView StatusLast Update
0002733libmicrohttpdpostprocessorpublic2021-09-02 17:54
ReporterBlackSpark Assigned ToChristian Grothoff  
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 10:01

manager   ~0006822

Testcase reproducing the issue in SVN 25971.

Christian Grothoff

2013-02-01 10:20

manager   ~0006823

Fixed in SVN 25972.

Christian Grothoff

2021-09-02 17:54

manager   ~0018214

Fix committed to master branch.

Related Changesets

libmicrohttpd: master fe480ef1

2013-02-01 11:20

Christian Grothoff


Details Diff
fix 0002733 Affected Issues
0002733
mod - ChangeLog Diff File
mod - src/daemon/postprocessor.c Diff File
mod - src/daemon/postprocessor_test.c Diff File

Issue History

Date Modified Username Field Change
2013-01-14 15:30 BlackSpark New Issue
2013-01-29 21:36 Christian Grothoff Assigned To => Christian Grothoff
2013-01-29 21:36 Christian Grothoff Status new => assigned
2013-01-29 21:45 Christian Grothoff Priority normal => urgent
2013-01-29 21:45 Christian Grothoff Target Version => 0.9.25
2013-02-01 10:01 Christian Grothoff Note Added: 0006822
2013-02-01 10:20 Christian Grothoff Note Added: 0006823
2013-02-01 10:20 Christian Grothoff Status assigned => resolved
2013-02-01 10:20 Christian Grothoff Fixed in Version => 0.9.25
2013-02-01 10:20 Christian Grothoff Resolution open => fixed
2013-02-08 02:41 Christian Grothoff Status resolved => closed
2013-05-06 12:53 Christian Grothoff Category postprocessor => libmicrohttpd postprocessor
2021-09-02 17:54 Christian Grothoff Changeset attached => libmicrohttpd master fe480ef1
2021-09-02 17:54 Christian Grothoff Note Added: 0018214
2024-01-21 13:24 Christian Grothoff Category libmicrohttpd postprocessor => postprocessor