diff options
-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. |