formpost: support quotes, commas and semicolon in file names
authorUlion <ulion2002@gmail.com>
Mon, 21 Jan 2013 22:20:09 +0000 (23:20 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Jan 2013 14:43:29 +0000 (15:43 +0100)
commit2698520aef593cbd746a64f79021a4c8d7c83d65
tree69cccacf56e002c7413d8ab7356a92ecfc94212c
parentfa176376c8af90fcce632db63ac691a471577e8e
formpost: support quotes, commas and semicolon in file names

- document the double-quote and backslash need be escaped if quoting.
- libcurl formdata escape double-quote in filename by backslash.
- curl formparse can parse filename both contains '"' and ',' or ';'.
- curl now can uploading file with ',' or ';' in filename.

Bug: http://curl.haxx.se/bug/view.cgi?id=1171
docs/curl.1
lib/formdata.c
src/tool_formparse.c
tests/data/Makefile.am
tests/data/test1133 [new file with mode: 0644]
tests/data/test39
tests/getpart.pm