form.d: add examples of `,`/`;` for file[name]

Fixes #7415
Closes #7417
This commit is contained in:
Josh Soref 2021-07-16 06:30:55 -04:00 committed by Daniel Stenberg
parent d84fb30681
commit 04ce9e853c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 2 additions and 2 deletions

View File

@ -59,11 +59,11 @@ filename=, like this:
If filename/path contains ',' or ';', it must be quoted by double-quotes like:
curl -F "file=@\\"localfile\\";filename=\\"nameinpost\\"" example.com
curl -F "file=@\\"local,file\\";filename=\\"name;in;post\\"" example.com
or
curl -F 'file=@"localfile";filename="nameinpost"' example.com
curl -F 'file=@"local,file";filename="name;in;post"' example.com
Note that if a filename/path is quoted by double-quotes, any double-quote
or backslash within the filename must be escaped by backslash.