[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
Wed Jul 29 06:45:14 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:  pento
     Type:  defect (bug)  |      Status:  reopened
 Priority:  high          |   Milestone:  4.2.4
Component:  Database      |     Version:  4.1.5
 Severity:  critical      |  Resolution:
 Keywords:  fixed-major   |     Focuses:
--------------------------+-----------------------

Comment (by pento):

 In [changeset:"33479"]:
 {{{
 #!CommitTicketReference repository="" revision="33479"
 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.1 branch.

 See #32279.
 }}}

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


More information about the wp-trac mailing list