I am testing the ICAP interface of Squid 3.1.18 and noticed the following:

The OPTIONS for RESPMOD is this:
ICAP/1.0 200 OK<0d>
Methods: RESPMOD<0d>
Preview: 8192<0d>
Transfer-Preview: *<0d>
Transfer-Ignore: 
bmp,ico,gif,jpg,jpe,jpeg,png,tiff,crl,avi,divx,flv,h264,mp4,mpg,mpeg,swf,wmv,mp3,wav,ttf,pdf,rar,tar,zip,gz,bz2,jar,js,json,htm,html,dhtml,shtml,css,rss,xml<0d>
Service: ICAPD 0.9.1 ICAP server by URLfilterDB<0d>
Service-ID: URLfilterDB<0d>
ISTag: "4f883424-d44b"<0d>
Connection: keep-alive<0d>
Encapsulated: null-body=0<0d>
Max-Connections: 500<0d>
Options-TTL: 600<0d>
Allow: 204<0d>
Allow: 206<0d>
X-Include: X-Client-IP, X-Server-IP, X-Forwarded-For, X-Subscriber-ID, 
X-Client-Username, X-Authenticated-Groups<0d>

and the Transfer-Ignore processing works as expected for .gif etc. (e.g. the
ICAP server does not receive the previews) _except_ for
http://zzz.com/1409303.mp4?p1=2012-xxx
where the ICAP server unexpectedly receives the preview.

There is no formal definition in the RFC of what a "file extension"
is. So the question is: is the file extension of
http://zzz.com/1409303.mp4?p1=2012-xxx
"mp4" ?

If yes, I will file a bug report.

Marcus

Reply via email to