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 2003/10/30 21:10:17 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriEnv.c
mturk 2003/10/30 12:10:17
Modified: jk/native2/common jk_uriEnv.c
Log:
Fix the prefix mapping bug
Revision Changes Path
1.51 +2 -1 jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c
Index: jk_uriEnv.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- jk_uriEnv.c 25 Sep 2003 15:23:22 -0000 1.50
+++ jk_uriEnv.c 30 Oct 2003 20:10:17 -0000 1.51
@@ -445,6 +445,7 @@
if (uri[strlen(uri) - 1] == '*') {
/* context based /context/prefix/ASTERISK */
+ uri[strlen(uri) - 1] = '\0';
uriEnv->suffix = NULL;
uriEnv->prefix = uri;
uriEnv->prefix_len =strlen( uriEnv->prefix );
@@ -522,7 +523,7 @@
* so that global mappings are always present
* on each vhost, instead of explicitly defined.
*/
-#if 0
+#if 1
uriEnv->inherit_globals = 1;
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org