Make WordPress Core


Ignore:
Timestamp:
11/17/2009 08:18:48 PM (15 years ago)
Author:
ryan
Message:

Allow 0xAD in URI attributes. Props nbachiyski. fixes #9823 #10859

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/kses.php

    r12125 r12199  
    776776function wp_kses_bad_protocol($string, $allowed_protocols) {
    777777    $string = wp_kses_no_null($string);
    778     $string = preg_replace('/\xad+/', '', $string); # deals with Opera "feature"
    779778    $string2 = $string.'a';
    780779
     
    921920    $string2 = preg_replace('/\s/', '', $string2);
    922921    $string2 = wp_kses_no_null($string2);
    923     $string2 = preg_replace('/\xad+/', '', $string2);
    924     # deals with Opera "feature"
    925922    $string2 = strtolower($string2);
    926923
Note: See TracChangeset for help on using the changeset viewer.