[wp-trac] [WordPress Trac] #60261: Fatal error with invalid charset specified in Trackback
WordPress Trac
noreply at wordpress.org
Sun Jun 9 13:46:23 UTC 2024
#60261: Fatal error with invalid charset specified in Trackback
------------------------------------------------+---------------------
Reporter: dd32 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.6
Component: Pings/Trackbacks | Version:
Severity: normal | Resolution:
Keywords: has-patch php81 needs-testing-info | Focuses:
------------------------------------------------+---------------------
Changes (by oglekler):
* keywords: has-patch php81 => has-patch php81 needs-testing-info
Comment:
What it the difference between incorrect encoding and obsolete UTF-7 that
will cause die() (I wonder if it should use wp_die() instead)?
@dd32, Can you, please, provide testing instructions?
Possibly for deciding how to test this function, we need another ticket.
In normal project I would have been refactored it and moved charset
verification to another function (private method is not an option here)
but if we do this, it will become globally available and we don't need
this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60261#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list