[squid-users] Re: ? Error

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 4 Oct 2002 13:59:27 +0200

feature.. the two are different URLs, and Squid includes the query
string into urlpath_regex.

What you want is

  acl mp3 urlpath_regex -i \.mp3($|?)

Regards
Henrik

On Friday 04 October 2002 13.47, Alexey Sheshka wrote:
> Hi !
>
> Is it bug or "feature" :
> Then I seting up filters for *.mp3
>
> acl mp3 urlpath_regex \.mp3$
> http_access deny all mp3
>
>
> URL http://www.coolmp3foobar.com/sample.mp3 is blocked , but
> users can download mp3 via URL
> http://www.coolmp3foobar.com/sample.mp3? . Users just add ? at the
> end of URL and bypas my blocking rules.
>
> Tested on :
> Sduid 2.4stable6, Debian Woody, IA
> Squid2.4stable7 Alt Linux Master2.0 , IA
Received on Fri Oct 04 2002 - 08:06:09 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:36 MST