lua-resty-multipart-parser icon indicating copy to clipboard operation
lua-resty-multipart-parser copied to clipboard

Simple multipart data parser for OpenResty/Lua

Results 2 lua-resty-multipart-parser issues
Sort by recently updated
recently updated
newest added

When I try to upload binary file (jpg), I get error: `failed to parse part: resty/multipart/parser.lua:58: bad argument #1 to 'find' (string expected, got nil)`. When I try upload txt...

``` Content-Disposition: form-data;filename="x.jpg";name="file";filename="xx.php" ``` returns `x.jpg` But, in fact, uploaded file name is `xx.php`. The regex of get filename is risky.