[wp-trac] [WordPress Trac] #43946: Inconsistent encoding of comment_content
WordPress Trac
noreply at wordpress.org
Fri May 4 12:39:24 UTC 2018
#43946: Inconsistent encoding of comment_content
-----------------------------------------+------------------------------
Reporter: leewillis77 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.9.5
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+------------------------------
Comment (by leewillis77):
Hmm, it depends what you write:
"This is great & awesome" < triggers the error
"This is great & awesome" < does not - the & in & does not get
escaped
As a side affect, the latter comment also gets displayed in a browser as
"This is great & awesome" rather than "This is great & awesome" - a
prime example of why the current scenario is broken....
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43946#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list