No, I specified /* as my url-pattern:
<filter-mapping>
<filter-name>FileFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
and my filter is not called when the URL is
http://www.hostname.tld/.svn/entries
The servlet spec is weird here and the url-pattern in a
web-resource-collection. The "." has special meaning that seems to
indicate a file extension, not a directory.
Caldarale, Charles R wrote:
From: Scott Dunbar [mailto:sc...@xigole.com]
Subject: Any way to filter URL's with a dot in the directory name?
It appears, based on reading the servlet spec, that /*
is not sufficient for this.
Why not? /* maps to everything.
Indeed, using Tomcat 6.0.18 I've seen that a request for
/.svn/entries is passed through without hitting my filter.
What <url-pattern> did you specify for the filter?
Tough to diagnose without specific information.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
--
Scott Dunbar
Xigole Systems, Inc.
Enterprise consulting, development, and hosting
303·667·6343