Age | Commit message (Collapse) | Author |
|
9b5b683 multipart-parser: properly handle parts with trailing CR
Fixes: #6282
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
6e68a10 utils: also compare attribute name length in lh_header_attribute()
7b721af testcases: adjust urldecode tests
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
cc85183 ucode: add ucode library binding
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes compilation under 32bit systems by using the proper printf format
specifier for size_t values.
Also fixes compilation with Ninja by appending instead of
overwriting CMAKE_OPTIONS.
Fixes: #5116
Suggested-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
a34a17d src: allow overriding buffer size from cli in multipart tester
730a46f lib: fix potentially lost bytes in boundary parsing across buffer limits
8734af2 lib: add buffer tracing to multipart parser
913051b src: add file dump option to multipart test utility
c419539 src: allow specifying custom buffer sizes in multipart testcases
f6e0564 lib: fix handling of empty multipart fields
Fixes: #2816
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
f6e0564 lib: fix handling of empty multipart fields
91c01c3 lib: fix multipart state transition in boundary parsing
Fixes: #2737
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
1afbdcc build: add soversion to library
Also adjust ABI_VERSION and install recipe accordingly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
6ddea4c utils: fix crash with zero length input string in lh_header_attribute()
cb119de lib: add support for setting the maximum allowed data size
Fixes #1784.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
ccc685e lua: expose LH_URLDECODE_PLUS flag in Lua library
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
c7c9c66 src: extend multipart parser test program
5071efb testcases: add multipart parsing edge cases
689e3d0 lib: multipart-parser: fix various edge cases
Fixes #1754.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
8617997 lib: cast size_t values in printf() to prevent compielr warnings
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
b7470d1 lua: back out early when instantiating parser with bad boundary
e1b1b1f testcases: remove stray .swp file
b46a6ca utils: introduce new LH_URLDECODE_PLUS flag
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Package liblucihttp, a utility library providing HTTP parsing and data
decoding helpers.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|