r85537 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85536‎ | r85537 | r85538 >
Date:13:53, 6 April 2011
Author:demon
Status:reverted
Tags:
Comment:
Merge from 1.17wmf1: r84259
Modified paths:
  • /branches/REL1_17/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/languages/Language.php
@@ -1790,8 +1790,7 @@
17911791 return $s;
17921792 }
17931793
1794 - $isutf8 = preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1795 - '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s );
 1794+ $isutf8 = ( $s == iconv("UTF-8","UTF-8//IGNORE", $s));
17961795 if ( $isutf8 ) {
17971796 return $s;
17981797 }
Property changes on: branches/REL1_17/phase3/languages/Language.php
___________________________________________________________________
Modified: svn:mergeinfo
17991798 Merged /branches/wmf/1.17wmf1/languages/Language.php:r84259

Follow-up revisions

RevisionCommit summaryAuthorDate
r86164Revert r85537 per fixme on r85536reedy00:25, 16 April 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84259eliminate PCRE recursion from URL checkmidom19:16, 18 March 2011

Status & tagging log