diff -ruN drupal-7.14.orig/includes/bootstrap.inc drupal-7.14/includes/bootstrap.inc --- drupal-7.14.orig/includes/bootstrap.inc 2012-05-03 00:10:42.000000000 +0200 +++ drupal-7.14/includes/bootstrap.inc 2012-06-15 15:35:01.255329476 +0200 @@ -2729,6 +2729,7 @@ // Under certain conditions Apache's RewriteRule directive prepends the value // assigned to $_GET['q'] with a slash. Moreover we can always have a trailing // slash in place, hence we need to normalize $_GET['q']. + if(is_array($path)) { die(); } $path = trim($path, '/'); return $path;