[wp-trac] [WordPress Trac] #59937: phpunit test for send_nosniff_header
WordPress Trac
noreply at wordpress.org
Tue Nov 28 18:42:51 UTC 2023
#59937: phpunit test for send_nosniff_header
------------------------------+------------------------------
Reporter: pbearne | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: close | Focuses:
------------------------------+------------------------------
Changes (by jorbin):
* keywords: => close
Comment:
I am going to guess that trying to test this is going to be more effort
than actually testing. I think `headers_list` is out since that doesn't
work when [https://www.php.net/manual/en/function.headers-list.php#120539
running PHP from the command line.] This might be a place where we want to
`maybelater` the ticket and if there becomes a better way to test headers
in the future, we can use that and reopen this ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59937#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list