Ticket #37475: 37475.1.patch
| File 37475.1.patch, 4.2 KB (added by , 10 years ago) |
|---|
-
wp-includes/ID3/module.audio-video.asf.php
349 349 if ($thisfile_asf_codeclistobject_codecentries_current['type_raw'] == 2) { // audio codec 350 350 351 351 if (strpos($thisfile_asf_codeclistobject_codecentries_current['description'], ',') === false) { 352 $info['warning'][] = '[asf][codec_list_object][codec_entries]['.$CodecEntryCounter.'][description] expected to contain comma-sep erated list of parameters: "'.$thisfile_asf_codeclistobject_codecentries_current['description'].'"';352 $info['warning'][] = '[asf][codec_list_object][codec_entries]['.$CodecEntryCounter.'][description] expected to contain comma-separated list of parameters: "'.$thisfile_asf_codeclistobject_codecentries_current['description'].'"'; 353 353 } else { 354 354 355 355 list($AudioCodecBitrate, $AudioCodecFrequency, $AudioCodecChannels) = explode(',', $this->TrimConvert($thisfile_asf_codeclistobject_codecentries_current['description'])); -
wp-includes/ID3/module.tag.apetag.php
119 119 $item_flags = getid3_lib::LittleEndian2Int(substr($APEtagData, $offset, 4)); 120 120 $offset += 4; 121 121 if (strstr(substr($APEtagData, $offset), "\x00") === false) { 122 $info['error'][] = 'Cannot find null-byte (0x00) sep erator between ItemKey #'.$i.' and value. ItemKey starts '.$offset.' bytes into the APE tag, at file offset '.($thisfile_ape['tag_offset_start'] + $offset);122 $info['error'][] = 'Cannot find null-byte (0x00) separator between ItemKey #'.$i.' and value. ItemKey starts '.$offset.' bytes into the APE tag, at file offset '.($thisfile_ape['tag_offset_start'] + $offset); 123 123 return false; 124 124 } 125 125 $ItemKeyLength = strpos($APEtagData, "\x00", $offset) - $offset; -
wp-includes/SimplePie/Locator.php
226 226 } 227 227 if ($link->hasAttribute('href') && $link->hasAttribute('rel')) 228 228 { 229 $rel = array_unique($this->registry->call('Misc', 'space_sep erated_tokens', array(strtolower($link->getAttribute('rel')))));229 $rel = array_unique($this->registry->call('Misc', 'space_separated_tokens', array(strtolower($link->getAttribute('rel'))))); 230 230 $line = method_exists($link, 'getLineNo') ? $link->getLineNo() : 1; 231 231 232 232 if ($this->base_location < $line) -
wp-includes/SimplePie/Misc.php
1926 1926 return (bool) preg_match('/^([A-Za-z0-9\-._~\x{A0}-\x{D7FF}\x{F900}-\x{FDCF}\x{FDF0}-\x{FFEF}\x{10000}-\x{1FFFD}\x{20000}-\x{2FFFD}\x{30000}-\x{3FFFD}\x{40000}-\x{4FFFD}\x{50000}-\x{5FFFD}\x{60000}-\x{6FFFD}\x{70000}-\x{7FFFD}\x{80000}-\x{8FFFD}\x{90000}-\x{9FFFD}\x{A0000}-\x{AFFFD}\x{B0000}-\x{BFFFD}\x{C0000}-\x{CFFFD}\x{D0000}-\x{DFFFD}\x{E1000}-\x{EFFFD}!$&\'()*+,;=@]|(%[0-9ABCDEF]{2}))+$/u', $string); 1927 1927 } 1928 1928 1929 public static function space_sep erated_tokens($string)1929 public static function space_separated_tokens($string) 1930 1930 { 1931 1931 $space_characters = "\x20\x09\x0A\x0B\x0C\x0D"; 1932 1932 $string_length = strlen($string); -
wp-includes/SimplePie/Parse/Date.php
631 631 /** 632 632 * Parse a superset of W3C-DTF (allows hyphens and colons to be omitted, as 633 633 * well as allowing any of upper or lower case "T", horizontal tabs, or 634 * spaces to be used as the time sep erator (including more than one))634 * spaces to be used as the time separator (including more than one)) 635 635 * 636 636 * @access protected 637 637 * @return int Timestamp
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)