Re: [squid-users] browser acl

2017-12-27 Thread Alex Rousskov
On 12/27/2017 06:53 AM, Amos Jeffries wrote:

> \-escaping is only supported by Squid-3.5+ when inside ""-quoted
> parameters. Older versions do not unescape it at all.
 And, for backward compatibility reasons, only a few directives actually
support "quoted parameters" unless configuration_includes_quoted_values
is on (it is off by default).

http://www.squid-cache.org/Doc/config/configuration_includes_quoted_values/

Alex.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] browser acl

2017-12-27 Thread Amos Jeffries

On 2017-12-27 19:59, Vieri wrote:

Hi,

Which one of the two examples below is syntactically correct?

acl UA browser Firefox/

acl UA browser Firefox\/



Both, depending on your regex library. The syntax above are just text 
strings passed from Squid to your regex library as-is.


\-escaping is only supported by Squid-3.5+ when inside ""-quoted 
parameters. Older versions do not unescape it at all.


Amos
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] browser acl

2017-12-26 Thread Vieri
Hi,

Which one of the two examples below is syntactically correct?

acl UA browser Firefox/

acl UA browser Firefox\/

Thanks,

Vieri
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users