[smokeping-users] Excaping options in config?
Niko Tyni
ntyni+smokeping-users at mappi.helsinki.fi
Thu Apr 12 11:40:42 CEST 2007
On Wed, Apr 11, 2007 at 01:04:19PM -0700, John A. Kilpatrick wrote:
> 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.
Hm, it looks like you can't. This is clearly a bug in the Config::Grammar
module. I'll try to come up with a patch and send it to the author.
Meanwhile, maybe you could put the cookie in a file? The --cookie curl
options supports that too.
Cheers,
--
Niko
More information about the smokeping-users
mailing list