Author: jfrederic.clere(a)jboss.com
Date: 2008-06-18 12:00:03 -0400 (Wed, 18 Jun 2008)
New Revision: 1722
Modified:
trunk/mod_cluster/native/mod_manager/mod_manager.c
Log:
Allow URL ending with * to be a APP_ * command.
Modified: trunk/mod_cluster/native/mod_manager/mod_manager.c
===================================================================
--- trunk/mod_cluster/native/mod_manager/mod_manager.c 2008-06-18 15:26:22 UTC (rev 1721)
+++ trunk/mod_cluster/native/mod_manager/mod_manager.c 2008-06-18 16:00:03 UTC (rev 1722)
@@ -864,7 +864,8 @@
}
/* Process the * APP commands */
- if (strcmp(r->uri, "*") == 0 || strcmp(r->uri, "/*") ==0)
{
+ i = strlen(r->uri);
+ if (strcmp(r->uri, "*") == 0 || (i>=2 && r->uri[i-1] ==
'*' && r->uri[i-2] == '/')) {
return (process_node_cmd(r, status, errtype, node));
}
Show replies by date