[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 08:15:49 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: needs-patch
--------------------------+-------------------------------------------------
Comment(by miqrogroove):
sirzooro, I'll have to give you some suggestions at this point because I
don't have any slick tools for injecting tag strings.
Go to the wp-includes/post.php file and start stubbing-in debug commands
to the function wp_insert_post(). Specifically, look at the value of
$tags_input and $tax_input right after the extract() is done. You might
be able to use something like this:
{{{
error_log(print_r($tax_input, TRUE));
}}}
Figure out, at that point in the code, has the tag been truncated or
modified in any way? This should give us a pretty good idea of how much
string sanitizing has been done before the tags are passed to the Taxonomy
API.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10543#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list