WordPress.org

Make WordPress Core

Changeset 7559


Ignore:
Timestamp:
03/28/2008 06:51:19 AM (12 years ago)
Author:
ryan
Message:

Drop trackbacks that request UTF-7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-trackback.php

    r7140 r7559  
    4343else
    4444    $charset = 'ASCII, UTF-8, ISO-8859-1, JIS, EUC-JP, SJIS';
     45
     46// No valid uses for UTF-7
     47if ( false !== strpos($charset, 'UTF-7') )
     48    die;
    4549
    4650if ( function_exists('mb_convert_encoding') ) { // For international trackbacks
Note: See TracChangeset for help on using the changeset viewer.