[wp-trac] [WordPress Trac] #29717: wp_check_invalid_utf8 - pcre tricks and failsafes, +mb_convert_encoding, iconv fix, performance

WordPress Trac noreply at wordpress.org
Sat Sep 20 18:45:26 UTC 2014


#29717: wp_check_invalid_utf8 - pcre tricks and failsafes, +mb_convert_encoding,
iconv fix, performance
--------------------------------+------------------------------------------
 Reporter:  askapache           |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Formatting          |     Version:  trunk
 Severity:  normal              |  Resolution:
 Keywords:  has-patch dev-      |     Focuses:  administration, performance
  feedback                      |
--------------------------------+------------------------------------------

Comment (by miqrogroove):

 Impressive.  So the main benefits are 10% faster and more compatibility?
 Are there any systems currently running WordPress that need this patch?  A
 more concise, big picture description would help.

 Also, I learned in feedback from the 4.0 release that we need to
 specifically test PHP versions less than 5.4.9 and 5.3.19, because they
 exhibit crashes when PCRE is used to perform certain types of alternation
 and backtracking.  I found that version 5.2.13 is particularly easy to
 download.  It is not necessary to add unit tests for that, but we need to
 see that if someone posts a 10kb or 100kb block of text that it won't
 suddenly crash due to a server bug.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29717#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list