Ticket #4873: 4873-222.diff
| File 4873-222.diff, 536 bytes (added by Otto42, 6 years ago) |
|---|
-
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');
