Ticket #4873: 4873-2.2.diff
File 4873-2.2.diff, 570 bytes (added by , 17 years ago) |
---|
-
branches/2.2/wp-includes/pluggable.php
317 317 if ( !$location ) // allows the wp_redirect filter to cancel a redirect 318 318 return false; 319 319 320 $location = preg_replace('|[^a-z0-9-~ +_.?#=&;,/:%]|i', '', $location);320 $location = preg_replace('|[^a-z0-9-~\+_\.\?#=&;,/:%]|i', '', $location); 321 321 $location = wp_kses_no_null($location); 322 322 323 323 $strip = array('%0d', '%0a');