[wp-trac] [WordPress Trac] #37863: HTTP/1.1 defined header in wp-comments-post.php

WordPress Trac noreply at wordpress.org
Tue Aug 30 01:55:19 UTC 2016


#37863: HTTP/1.1 defined header in wp-comments-post.php
--------------------------+--------------------------
 Reporter:  tnash         |       Owner:  johnbillion
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.7
Component:  Comments      |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------------

Comment (by SergeyBiryukov):

 @tnash, if the ticket was indeed based on the support forums thread, it
 would be nice to link to it in the description, as well as mention the
 ticket in the thread :)

 Replying to [comment:4 kobashicomputing]:
 > You must trust what is returned in `$_SERVER['SERVER_PROTOCOL']`.

 If that's the case, the code of `wp_get_server_protocol()` introduced in
 [34894] should also be corrected.

 A similar code is also used in [source:tags/4.6/src/wp-admin/load-
 scripts.php#L39 wp-admin/load-scripts.php] and [source:tags/4.6/src/wp-
 admin/load-styles.php#L40 wp-admin/load-styles.php].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37863#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list