diff options
author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2021-07-16 06:30:55 -0400 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-07-16 23:48:23 +0200 |
commit | 04ce9e853c96388e59148fc145079d365e38b426 (patch) | |
tree | d63524fc1eb9443eea47de1243ad620dd18d465a /docs/cmdline-opts | |
parent | d84fb306810f63bf3cbd08dffa58381735e495c9 (diff) | |
download | curl-04ce9e853c96388e59148fc145079d365e38b426.tar.gz |
form.d: add examples of `,`/`;` for file[name]
Fixes #7415
Closes #7417
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r-- | docs/cmdline-opts/form.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cmdline-opts/form.d b/docs/cmdline-opts/form.d index 2c65ddd9b..e25fe4b6b 100644 --- a/docs/cmdline-opts/form.d +++ b/docs/cmdline-opts/form.d @@ -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. |