? .DS_Store ? files ? help.module_1.patch ? menu.items.patch ? trouwen ? update.relative.links.patch ? upload_js.patch.txt ? user.404.patch ? includes/header.newlines.patch ? modules/.DS_Store ? modules/buzz.module ? modules/buzz.module.txt ? modules/itf.module ? modules/module_builder ? modules/test.install ? modules/test.module ? modules/tiered_user_perm_0.patch ? sites/128.189.190.148.drupal ? sites/192.168.0.2.drupal ? sites/localhost.drupal ? sites/localhost.drupal2 ? sites/localhost.drupal46u ? themes/.DS_Store ? themes/bluebeach ? themes/schaak Index: includes/menu.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/menu.inc,v retrieving revision 1.109 diff -u -r1.109 menu.inc --- includes/menu.inc 13 Mar 2006 21:33:18 -0000 1.109 +++ includes/menu.inc 14 Mar 2006 03:35:35 -0000 @@ -1125,7 +1125,10 @@ $path = substr($path, 0, strrpos($path, '/')); } if (empty($path)) { - return FALSE; + // Items without any access attribute up the chain are denied, unless they + // were created by the admin. They most likely point to non-Drupal directories + // or to an external URL and should be allowed. + return $menu['items'][$mid]['type'] & MENU_CREATED_BY_ADMIN; } return $menu['items'][$menu['path index'][$path]]['access']; }