[squid-users] browser acl

Amos Jeffries squid3 at treenet.co.nz
Wed Dec 27 13:53:40 UTC 2017


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


More information about the squid-users mailing list