Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > d7d5a7b0d9064bcfaf4132b10fb74156 > files > 1

drupal7-7.25-1.fc18.src.rpm

--- includes/bootstrap.inc~	2012-05-02 17:10:42.000000000 -0500
+++ includes/bootstrap.inc	2012-05-24 07:42:06.465246724 -0500
@@ -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;