Révision 01f36513
Ajouté par Assos Assos il y a environ 6 ans
drupal7/includes/bootstrap.inc | ||
---|---|---|
8 | 8 |
/** |
9 | 9 |
* The current system version. |
10 | 10 |
*/ |
11 |
define('VERSION', '7.58');
|
|
11 |
define('VERSION', '7.59');
|
|
12 | 12 |
|
13 | 13 |
/** |
14 | 14 |
* Core API compatibility. |
... | ... | |
2778 | 2778 |
unset($_GET['destination']); |
2779 | 2779 |
unset($_REQUEST['destination']); |
2780 | 2780 |
} |
2781 |
// Use the DrupalRequestSanitizer to ensure that the destination's query |
|
2782 |
// parameters are not dangerous. |
|
2783 |
if (isset($_GET['destination'])) { |
|
2784 |
DrupalRequestSanitizer::cleanDestination(); |
|
2785 |
} |
|
2781 | 2786 |
// If there's still something in $_REQUEST['destination'] that didn't come |
2782 | 2787 |
// from $_GET, check it too. |
2783 | 2788 |
if (isset($_REQUEST['destination']) && (!isset($_GET['destination']) || $_REQUEST['destination'] != $_GET['destination']) && url_is_external($_REQUEST['destination'])) { |
Formats disponibles : Unified diff
Weekly update of contrib modules