Ticket #18818: 18818.diff
File 18818.diff, 536 bytes (added by , 13 years ago) |
---|
-
wp-includes/pluggable.php
877 877 * @return string redirect-sanitized URL 878 878 **/ 879 879 function wp_sanitize_redirect($location) { 880 $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%! ]|i', '', $location);880 $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%!@]|i', '', $location); 881 881 $location = wp_kses_no_null($location); 882 882 883 883 // remove %0d and %0a from location