? includes/menu.inc.next
Index: includes/menu.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/menu.inc,v
retrieving revision 1.255.2.22
diff -u -p -r1.255.2.22 menu.inc
--- includes/menu.inc	14 Oct 2008 13:31:52 -0000	1.255.2.22
+++ includes/menu.inc	14 Oct 2008 19:20:05 -0000
@@ -2221,7 +2221,7 @@ function _menu_router_build($callbacks) 
       // Look for wildcards in the form allowed to be used in PHP functions,
       // because we are using these to construct the load function names.
       // See http://php.net/manual/en/language.functions.php for reference.
-      if (preg_match('/^%([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)$/', $part, $matches)) {
+      if (preg_match('/^%$|^%([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)$/', $part, $matches)) {
         if (empty($matches[1])) {
           $match = TRUE;
           $load_functions[$k] = NULL;
