[wp-trac] [WordPress Trac] #11738: sanitize_text_field() issue with UTF-8 characters
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 6 23:36:23 UTC 2010
#11738: sanitize_text_field() issue with UTF-8 characters
--------------------------+-------------------------------------------------
Reporter: hakre | Owner: hakre
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.2
Component: Charset | Version: 2.9.1
Severity: major | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
That said, I'm curious to understand why the ticket started by a
discussion on the /u modifier. The functions from the related patch don't
seem to use it:
http://core.trac.wordpress.org/attachment/ticket/5998/5998.2.patch
there is one issue with the regexp from is_valid_utf8_preg5998(), since
the latter lacks delimiters and it could arguably start with "(?:" instead
of "(" to avoid backtrace issues. But appart
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11738#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list