Hello,
I have a problem with my acl urlpath_regex
Extract from squid.conf :
acl all src 0.0.0.0/0.0.0.0
acl invalid_uri urlpath_regex ^/%
http_access deny invalid_uri
http_access allow all
Now some test with wget :
wget http://zayin.yahubb.cn/%ag
--17:11:16-- http://zayin.yahubb.cn/%25ag
Resolving zayin.yahubb.cn... 211.144.68.70
Connecting to zayin.yahubb.cn|211.144.68.70|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
17:11:16 ERROR 403: Forbidden.
====> the acl match OK
wget http://zayin.yahubb.cn/%ab
--17:18:40-- http://zayin.yahubb.cn/%ab
Resolving zayin.yahubb.cn... 211.144.68.70
Connecting to zayin.yahubb.cn|211.144.68.70|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:18:42 ERROR 404: Not Found.
====> the acl not math KO
Other test with wget seems to show that if two characters after the "%" form an
hexadecimal number, the acl does not match.
I need that all the url like ^/% match, can you help me ?
Thanks
Best regards,
Guillaume
Received on Tue May 05 2009 - 09:14:02 MDT
This archive was generated by hypermail 2.2.0 : Wed May 06 2009 - 12:00:02 MDT