John A Kilpatrick writes:
> I need to get a URL with curl that has the following cookie sent along 
> with it:

> extraargs = --cookie 
> user=A|u_username|g_#9202a8c04000641f80000000010c3643|4.OCVKpWMU3G05FElji40EWw;

> However, it's being truncated after the #.  How do I escape the # so that 
> it is sent?  \ isn't working, neither is quoting.

Have you tried using an alternative encoding for the #, such as %23?
I'm not sure which encoding is used for cookies.

Alternatively, put the cookie in a file (whose filename doesn't
contain a # :-), and use the =-less syntax of the --cookie argument
(--cookie filename).
-- 
Simon.

_______________________________________________
smokeping-users mailing list
[EMAIL PROTECTED]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to