[wp-trac] [WordPress Trac] #23495: Special characters can truncate WP Option value
WordPress Trac
noreply at wordpress.org
Mon Feb 18 21:36:02 UTC 2013
#23495: Special characters can truncate WP Option value
--------------------------+------------------------
Reporter: TobiasBg | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Database | Version:
Severity: normal | Resolution: duplicate
Keywords: |
--------------------------+------------------------
Changes (by SergeyBiryukov):
* keywords: close =>
* resolution: => duplicate
* status: new => closed
* component: General => Database
* milestone: Awaiting Review =>
Comment:
I could reproduce with a PHP script on a second page load. I guess the
first one printed a cached value, which might explain comment:1. Also
reproduced via `wp-admin/options.php`.
When trying to insert the suggested value using phpMyAdmin, I get a
warning:
{{{
Warning: #1366 Incorrect string value: '\xF0\xA0\x86\xA2te...' for column
'option_value' at row 1
}}}
So, it's a 4-byte character, and this ticket a duplicate of #13590. #21212
would fix this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23495#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list