summaryrefslogtreecommitdiffstats
path: root/wp-includes/pluggable.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-06 10:41:20 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-06 10:41:20 +0000
commit779f0f4411b6467808ff053780c7c96ed0f9a571 (patch)
treefe52143d0597da054fc189e0c2058320d114cfc7 /wp-includes/pluggable.php
parent78b9569980333f344366151f2dfc9e5b6412e175 (diff)
downloadwordpress-mu-779f0f4411b6467808ff053780c7c96ed0f9a571.tar.gz
wordpress-mu-779f0f4411b6467808ff053780c7c96ed0f9a571.tar.xz
wordpress-mu-779f0f4411b6467808ff053780c7c96ed0f9a571.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@638 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/pluggable.php')
-rw-r--r--wp-includes/pluggable.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
index ab054bf..d2e7137 100644
--- a/wp-includes/pluggable.php
+++ b/wp-includes/pluggable.php
@@ -267,6 +267,7 @@ function wp_redirect($location) {
global $is_IIS;
$location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $location);
+ $location = wp_kses_no_null($location);
$strip = array('%0d', '%0a');
$location = str_replace($strip, '', $location);