tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r591522 - /tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
Date Sat, 03 Nov 2007 00:27:56 GMT
Author: rjung
Date: Fri Nov  2 17:27:55 2007
New Revision: 591522

URL: http://svn.apache.org/viewvc?rev=591522&view=rev
Log:
Complete allowing mount patterns beginning with "*"
or "?" in addition to "/".

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c?rev=591522&r1=591521&r2=591522&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c Fri Nov  2 17:27:55 2007
@@ -363,7 +363,7 @@
         return JK_FALSE;
     }
 
-    if (*uri == '/') {
+    if (*uri == '/' || *uri == '*' || *uri == '?') {
         uwr->uri = uri;
         uwr->context = uri;
         uwr->worker_name = jk_pool_strdup(&uw_map->p, worker);
@@ -397,7 +397,7 @@
          * not arrive here when using Apache.
          */
         jk_log(l, JK_LOG_ERROR,
-               "invalid context '%s': does not begin with '/'",
+               "invalid context '%s': does not begin with '/', '*' or '?'",
                uri);
         JK_TRACE_EXIT(l);
         return JK_FALSE;



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


Mime
View raw message