[wp-trac] [WordPress Trac] #28699: \0 (backslash+zero) gets stripped from post content for users without "unfiltered_html"

WordPress Trac noreply at wordpress.org
Tue Jul 1 17:47:55 UTC 2014


#28699: \0 (backslash+zero) gets stripped from post content for users without
"unfiltered_html"
------------------------------------------+------------------
 Reporter:  azaozz                        |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.0
Component:  Formatting                    |     Version:  1.0
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------

Comment (by miqrogroove):

 So according to that original kses.php file, {{{\0}}} has always been
 stripped, even though the function comments say it was intended to strip
 NUL bytes only.

 Can we call this a bug, or can we identify any concerns in HTML, JS, or
 CSS related to having that phrase appear in the output?

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


More information about the wp-trac mailing list