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 2002/11/15 09:10:20 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c
mturk 2002/11/15 00:10:20
Modified: jk/native2/common jk_uriMap.c
Log:
Restore the uri if no context found.
XXX: I dont't like this jsessionid rewriting or uri made on const char.
Can we use some temp pool or provide the buffer to the mapUri call.
Revision Changes Path
1.58 +2 -0 jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c
Index: jk_uriMap.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- jk_uriMap.c 22 Oct 2002 10:11:43 -0000 1.57
+++ jk_uriMap.c 15 Nov 2002 08:10:19 -0000 1.58
@@ -933,6 +933,8 @@
ctxEnv = jk2_uriMap_prefixMap(env, uriMap, hostEnv->webapps, uri, uriLen);
if (ctxEnv == NULL) {
+ if (url_rewrite)
+ *url_rewrite = origChar;
env->l->jkLog(env, env->l, JK_LOG_INFO,
"uriMap.mapUri() no context %s\n", uri);
return NULL;
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>