Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > 8ebdd8ee5a97af7e94d058661190ce91 > files > 2

drupal-7.41-1.1.mga5.src.rpm

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;