Skip to content

Commit

Permalink
Apply the changes from D6LTS 6.46 (#123)
Browse files Browse the repository at this point in the history
* Apply the changes from D6LTS 6.46
  • Loading branch information
dsnopek authored and pwolanin committed Nov 21, 2018
1 parent ad93286 commit f2b1e3d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Drupal 6.46 LTS, 2018-10-17
---------------------------------------
- Fixed security issues (open redirect), backport. See SA-CORE-2018-006.

Drupal 6.45 LTS, 2018-10-04
---------------------------------------
- Initial support for PHP 7.2.

Drupal 6.44 LTS, 2018-04-25
---------------------------------------
- Fixed security issues (remote code execution), backport. See SA-CORE-2018-004.
Expand Down
4 changes: 4 additions & 0 deletions includes/common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,10 @@ function url($path = NULL, $options = array()) {
}
elseif (!empty($path) && !$options['alias']) {
$path = drupal_get_path_alias($path, isset($options['language']) ? $options['language']->language : '');
// Strip leading slashes from internal paths to prevent them becoming external
// URLs without protocol. /example.com should not be turned into
// //example.com.
$path = ltrim($path, '/');
}

if (function_exists('custom_url_rewrite_outbound')) {
Expand Down
2 changes: 1 addition & 1 deletion modules/system/system.module
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* The current system version.
*/
define('VERSION', '6.45');
define('VERSION', '6.46');

/**
* Core API compatibility.
Expand Down

0 comments on commit f2b1e3d

Please sign in to comment.