[wp-trac] [WordPress Trac] #32279: Creating new posts/terms with non-latin characters is broken for tables with cp1251 collation in 4.1.5

WordPress Trac noreply at wordpress.org
Fri Jul 17 07:09:33 UTC 2015


#32279: Creating new posts/terms with non-latin characters is broken for tables
with cp1251 collation in 4.1.5
--------------------------+---------------------
 Reporter:  vloo          |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  4.2.3
Component:  Database      |     Version:  4.1.5
 Severity:  critical      |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by pento):

 In [changeset:"33311"]:
 {{{
 #!CommitTicketReference repository="" revision="33311"
 WPDB: `::strip_text_from_query()` doesn't pass a length to
 `::strip_invalid_text()`, which was causing queries to fail when they
 contained characters that needed to be sanity checked by MySQL.

 Props dd32, mdawaffe, pento.

 Merges [33310] to the 4.2 branch.

 Fixes #32279.
 }}}

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


More information about the wp-trac mailing list