[wp-trac] [WordPress Trac] #61711: Password-protected pages lacking appropriate 'Cache-Control' request header

WordPress Trac noreply at wordpress.org
Thu Dec 5 18:37:15 UTC 2024


#61711: Password-protected pages lacking appropriate 'Cache-Control' request header
-------------------------------------------------+-------------------------
 Reporter:  brevilo                              |       Owner:
                                                 |  johnbillion
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.8
Component:  Security                             |     Version:  2.0.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info has-unit-tests                    |
-------------------------------------------------+-------------------------
Changes (by ironprogrammer):

 * keywords:  has-patch needs-testing has-testing-info => has-patch needs-
     testing has-testing-info has-unit-tests


Comment:

 I've attached a unit test to validate this update. I don't think we need a
 reverse test, as omitting this header is already the default for non-
 logged-in requests.

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


More information about the wp-trac mailing list