[wp-trac] [WordPress Trac] #34410: For validation of the $code: status_header
WordPress Trac
noreply at wordpress.org
Wed Nov 18 23:15:38 UTC 2015
#34410: For validation of the $code: status_header
--------------------------+----------------------
Reporter: tmatsuur | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: HTTP API | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Comment (by tmatsuur):
Replying to [comment:1 jeremyfelt]:
> Thanks for the report. `get_status_header_desc()` provides a default
white list of status codes and descriptions unless (it appears) it is
completely overridden by custom functionality. Anyone overriding this list
would need to do so in its entirety and should then provide appropriate
validation.
Thank you.
And I understand about this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34410#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list