Re: [squid-users] Running squidclient with url has '&'

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 15 Jul 2007 11:12:56 +0800

On Sat, Jul 14, 2007, ying lcs wrote:
> Hi,
>
> i am trying to test squidclient with this url (has '&'):
>
> http://www.google.com/search?hl=en&q=test&btnG=Google+Search
>
> I would like to know if I need to put " for my url?
>
> I get different results between this:
> ./squidclient -r
> "http://www.google.com/search?hl=en&q=test&btnG=Google+Search"
> and this:
> ./squidclient -r
> http://www.google.com/search?hl=en&q=test&btnG=Google+Search

Wrap the URL in '' so your shell doesn't perform variable expansion/
substitution.

squidclient -r 'http://foo.com?bar'
Received on Sat Jul 14 2007 - 21:09:39 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT