Ticket #17052: pluggable.17052.patch
| File pluggable.17052.patch, 499 bytes (added by bluntelk, 2 years ago) |
|---|
-
pluggable.php
907 907 * @return string redirect-sanitized URL 908 908 **/ 909 909 function wp_sanitize_redirect($location) { 910 $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%! ]|i', '', $location);910 $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%!\[\]]|i', '', $location); 911 911 $location = wp_kses_no_null($location); 912 912 913 913 // remove %0d and %0a from location
