WordPress.org

Make WordPress Core

Changeset 5993


Ignore:
Timestamp:
08/30/2007 06:13:48 PM (11 years ago)
Author:
markjaquith
Message:

Roll back [5986], [5988], [5989]. We are in a char class, so no escaping needed. Props mdawaffe. see #4873

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/pluggable-functions.php

    r5992 r5993  
    260260    global $is_IIS;
    261261
    262     $location = preg_replace('|[^a-z0-9-~\+_\.\?#=&;,/:%]|i', '', $location);
     262    $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $location);
    263263
    264264    // remove %0d and %0a from location
  • branches/2.2/wp-includes/pluggable.php

    r5991 r5993  
    318318        return false;
    319319
    320     $location = preg_replace('|[^a-z0-9-~\+_\.\?#=&;,/:%]|i', '', $location);
     320    $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $location);
    321321    $location = wp_kses_no_null($location);
    322322
  • trunk/wp-includes/pluggable.php

    r5990 r5993  
    399399        return false;
    400400
    401     $location = preg_replace('|[^a-z0-9-~\+_\.\?#=&;,/:%]|i', '', $location);
     401    $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $location);
    402402    $location = wp_kses_no_null($location);
    403403
Note: See TracChangeset for help on using the changeset viewer.