Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > fbd21807bb6cde9e07352d1846e10697 > files > 2

drupal-7.56-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;