[wp-trac] [WordPress Trac] #10543: Incorrect (non-UTF-8) character handling in tag's name and slug
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 17 20:15:02 UTC 2009
#10543: Incorrect (non-UTF-8) character handling in tag's name and slug
--------------------------+-------------------------------------------------
Reporter: sirzooro | Owner: filosofo
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Taxonomy | Version: 2.8.2
Severity: normal | Keywords: has-patch needs-testing
--------------------------+-------------------------------------------------
Changes (by miqrogroove):
* keywords: needs-patch => has-patch needs-testing
Comment:
Steps to Test Patch (when not using other WP client):
Place code at top of wp-admin/post.php
{{{
$_POST['tags_input'] = mb_convert_encoding( 'ace ąćę ace',
'iso-8859-2', 'utf-8' );
unset($_POST['tax_input']);
}}}
Navigate to wp-admin/post-new.php and save a new draft.
Expected Results: Tag name and slug should be similar, and should be
attached to the new post. Any tags containing invalid byte sequences
should be truncated before slug generation. Any tags truncated to zero
bytes should not be added to the database.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10543#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list