[wp-trac] [WordPress Trac] #34381: verify_peer_name should be set for stream_context_create()

WordPress Trac noreply at wordpress.org
Mon Nov 30 06:34:16 UTC 2015


#34381: verify_peer_name should be set for stream_context_create()
---------------------------------------+-----------------------------
 Reporter:  nosilver4u                 |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Future Release
Component:  HTTP API                   |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+-----------------------------

Comment (by rmccue):

 I'm 90% certain we want to set this to `false` all the time, as we
 implement the common-name checking ourselves via
 `WP_HTTP_Streams::verify_ssl_certificate` for compatibility reasons
 (specifically, so that we have this behaviour on <5.6).

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


More information about the wp-trac mailing list