diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-25 15:20:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-25 15:20:43 +0000 |
commit | 57b558e35e2f2bef752b0e0c653e61db10d60980 (patch) | |
tree | 106d3663bef89af0f996b6396822a4103fc416a8 | |
parent | b90912c8851bbb5d7c740694be54d801a08ec3b0 (diff) | |
download | brdo-57b558e35e2f2bef752b0e0c653e61db10d60980.tar.gz brdo-57b558e35e2f2bef752b0e0c653e61db10d60980.tar.bz2 |
- Patch #444154 by c960657: remove header injection check that is now redundant thanks to PHP 5.1.2 and beyond.
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index 6742e8ebe..ff44abd28 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -303,8 +303,6 @@ function drupal_goto($path = '', $query = NULL, $fragment = NULL, $http_response } $url = url($path, array('query' => $query, 'fragment' => $fragment, 'absolute' => TRUE)); - // Remove newlines from the URL to avoid header injection attacks. - $url = str_replace(array("\n", "\r"), '', $url); // Allow modules to react to the end of the page request before redirecting. // We do not want this while running update.php. |