tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aravind Gottipati <arav...@kc.rr.com>
Subject [PATCH] to jk_uri_worker_map.c (fix url matching for context matches)
Date Mon, 22 Apr 2002 21:00:32 GMT

Index: jk_uri_worker_map.c
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.c,v
retrieving revision 1.13
diff -u -r1.13 jk_uri_worker_map.c
--- jk_uri_worker_map.c	7 Dec 2001 00:57:16 -0000	1.13
+++ jk_uri_worker_map.c	22 Apr 2002 01:27:15 -0000
@@ -469,9 +469,7 @@
                 continue; /* can not be a best match anyway */
             }
 
-            if(0 == strncmp(uwr->context, 
-                            uri, 
-                            uwr->ctxt_len)) {
+            if (strstr(uri, uwr->context)) {
                 if(MATCH_TYPE_EXACT == uwr->match_type) {
                     if(strlen(uri) == uwr->ctxt_len) {
 			jk_log(l,

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message