Daniel Stenberg eeb2cb05a1 cmdline: make -F type= accept ;charset=
The -F option allows some custom parameters within the given string, and
those strings are separated with semicolons. You can for example specify
"name=daniel;type=text/plain" to set content-type for the
field. However, the use of semicolons like that made it not work fine if
you specified one within the content-type, like for:
"name=daniel;type=text/plain;charset=UTF-8"
... as the second one would be seen as a separator and "charset" is no
parameter curl knows anything about so it was just silently discarded.

The new logic now checks if the semicolon and following keyword looks
like a parameter it knows about and if it isn't it is assumed to be
meant to be used within the content-type string itself.

I modified test case 186 to verify that this works as intended.

Reported by: Larry Stone
Bug: http://curl.haxx.se/bug/view.cgi?id=3048988
2010-08-21 00:21:24 +02:00
..
2008-02-09 02:37:31 +00:00
2009-12-24 12:04:33 +00:00
2009-12-24 12:04:33 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2008-02-09 02:37:31 +00:00
2008-07-31 02:51:44 +00:00
2008-07-31 02:51:44 +00:00
2008-01-05 12:15:41 +00:00
2008-10-08 01:17:51 +00:00
2008-01-07 19:54:40 +00:00
2010-01-18 20:20:07 +00:00
2010-01-18 20:20:07 +00:00
2010-01-18 20:20:07 +00:00
2010-05-27 23:45:18 +02:00
2007-03-29 22:50:23 +00:00
2007-05-08 22:14:30 +00:00
2007-05-10 20:03:20 +00:00
2008-11-11 21:58:41 +00:00
2008-11-11 21:58:41 +00:00
2008-11-11 21:58:41 +00:00
2009-05-11 17:21:26 +00:00
2009-12-24 12:04:33 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:21:59 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:21:59 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:21:59 +00:00
2008-08-26 20:21:59 +00:00
2007-09-11 22:23:57 +00:00
2008-11-11 21:59:25 +00:00
2010-03-23 23:30:39 +01:00
2009-12-20 11:07:04 +00:00
2010-04-19 11:16:30 +02:00
2010-04-19 11:16:30 +02:00
2010-04-19 11:16:30 +02:00
2007-10-25 21:04:51 +00:00
2008-06-01 22:04:09 +00:00
2008-06-01 22:04:09 +00:00
2007-11-26 11:04:21 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-06-01 22:04:09 +00:00
2008-06-01 22:04:09 +00:00
2008-07-31 02:51:44 +00:00
2008-07-31 02:38:51 +00:00
2008-08-03 05:13:05 +00:00
2008-09-22 21:33:18 +00:00
2010-03-31 22:22:37 -07:00
2009-01-21 04:46:13 +00:00
2009-05-22 21:34:32 +00:00
2009-09-14 18:43:53 +00:00