Make WordPress Core


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

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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.