updated core to 7.79
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
/**
|
||||
* The current system version.
|
||||
*/
|
||||
define('VERSION', '7.58');
|
||||
define('VERSION', '7.59');
|
||||
|
||||
/**
|
||||
* Core API compatibility.
|
||||
@@ -2778,6 +2778,11 @@ function _drupal_bootstrap_variables() {
|
||||
unset($_GET['destination']);
|
||||
unset($_REQUEST['destination']);
|
||||
}
|
||||
// Use the DrupalRequestSanitizer to ensure that the destination's query
|
||||
// parameters are not dangerous.
|
||||
if (isset($_GET['destination'])) {
|
||||
DrupalRequestSanitizer::cleanDestination();
|
||||
}
|
||||
// If there's still something in $_REQUEST['destination'] that didn't come
|
||||
// from $_GET, check it too.
|
||||
if (isset($_REQUEST['destination']) && (!isset($_GET['destination']) || $_REQUEST['destination'] != $_GET['destination']) && url_is_external($_REQUEST['destination'])) {
|
||||
|
||||
Reference in New Issue
Block a user