Ticket #4873: 4873-trunk.diff
File 4873-trunk.diff, 536 bytes (added by , 17 years ago) |
---|
-
wp-includes/pluggable.php
398 398 if ( !$location ) // allows the wp_redirect filter to cancel a redirect 399 399 return false; 400 400 401 $location = preg_replace('|[^a-z0-9-~ +_.?#=&;,/:%]|i', '', $location);401 $location = preg_replace('|[^a-z0-9-~\+_\.\?#=&;,/:%]|i', '', $location); 402 402 $location = wp_kses_no_null($location); 403 403 404 404 $strip = array('%0d', '%0a');