aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-02-19 18:56:50 +0100
committerLoïc Hoguin <[email protected]>2014-02-19 18:56:50 +0100
commit943d80e7ec4eaf57a8a47b60d357ec35cb336d8a (patch)
treeced5fcabcd2e2316366b3261e546c311f443652f /README.md
parent5bc352df0cb2010b697179d8a25d2282db03c1e3 (diff)
downloadcowlib-943d80e7ec4eaf57a8a47b60d357ec35cb336d8a.tar.gz
cowlib-943d80e7ec4eaf57a8a47b60d357ec35cb336d8a.tar.bz2
cowlib-943d80e7ec4eaf57a8a47b60d357ec35cb336d8a.zip
Fix bugs in cow_multipart:parse_body/2 when a partial was found at the end
There was three bugs: lack of a scope argument in binary:match (I swear I had it in a previous version, whoops!); a misinterpretation of the returned position when the scope is used (so yeah it wouldn't have worked either way); \r\n being incorrectly removed when we got a partial, despite not knowing whether it was a boundary. Added a series of different tests to ensure that it all works as intended.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions