Applied D6LTS critical patch SA-CORE-2018-001

This commit is contained in:
Manuel Cillero 2018-05-08 11:29:04 +02:00
parent 6e1858d531
commit f0015d1842
2 changed files with 104 additions and 2 deletions

View file

@ -1499,7 +1499,7 @@ function url($path = NULL, $options = array()) {
);
if (!isset($options['external'])) {
$options['external'] = menu_path_is_external($path);
$options['external'] = $_GET['q'] === $path ? FALSE : menu_path_is_external($path);
}
// May need language dependent rewriting if language.inc is present.