curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: & in the URL

From: Jan Ehrhardt <phpdev_at_ehrhardt.nl>
Date: Sun, 25 Mar 2018 05:52:38 +0200

Mike Lambert in gmane.comp.web.curl.general (Sat, 24 Mar 2018 15:42:41
+1100):
>I have wrapped the complete line in " . no good

The whole line or the whole URL?

Else try using a semicolon ; as argument separator

Something like:
http://WWW.WebPage.Com/results.aspx?categoryid=BBBBBB/CCCCCC;AAAAAA=1234;fullview=true

See
https://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2

In PHP this is an option:
http://php.net/arg-separator.input

; php ini example:
arg_separator.input = ";&"

-- 
Jan
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-03-25