You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2007/02/24 12:56:57 UTC
svn commit: r511257 -
/tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
Author: mturk
Date: Sat Feb 24 03:56:57 2007
New Revision: 511257
URL: http://svn.apache.org/viewvc?view=rev&rev=511257
Log:
Fix detection of invalid paths. We are only intersted if
we have a worker match and if the path contains /web-inf
or /meta-inf. The /someweb-inf is valid path.
Modified:
tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
Modified: tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c?view=diff&rev=511257&r1=511256&r2=511257
==============================================================================
--- tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c Sat Feb 24 03:56:57 2007
@@ -488,10 +488,10 @@
static int uri_is_web_inf(const char *uri)
{
- if (stristr(uri, "web-inf")) {
+ if (stristr(uri, "/web-inf")) {
return JK_TRUE;
}
- if (stristr(uri, "meta-inf")) {
+ if (stristr(uri, "/meta-inf")) {
return JK_TRUE;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org