Ticket #16906: 16906.patch

File 16906.patch, 523 bytes (added by hakre, 2 years ago)

Remove Bogus Code

  • wp-includes/pluggable.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    908908 **/ 
    909909function wp_sanitize_redirect($location) { 
    910910        $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%!]|i', '', $location); 
    911         $location = wp_kses_no_null($location); 
    912911 
    913912        // remove %0d and %0a from location 
    914913        $strip = array('%0d', '%0a', '%0D', '%0A');