[wp-trac] [WordPress Trac] #31777: sanitize_text_field() stripping instances "%ca"
WordPress Trac
noreply at wordpress.org
Wed Aug 24 15:40:44 UTC 2022
#31777: sanitize_text_field() stripping instances "%ca"
---------------------------+---------------------
Reporter: lieutenantdan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: General | Version: 4.1.1
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+---------------------
Comment (by SergeyBiryukov):
Hi there, welcome to WordPress Trac! Thanks for the ticket, sorry it took
so long for someone to get back to you.
Just noting that the function also appears to strip `%de` from
`%description%`, per #56430.
I think comment:1 is accurate and this has to do with URL encoding, so
there might be other character sequences in the form of `%aa` to `%ff`
that would also be stripped.
Related: #53019
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31777#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list