#42186 closed enhancement (fixed)
Ability to pass hostname/url to https_ssl_verify filter
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | HTTP API | Keywords: | |
Focuses: | Cc: |
Description
It would be very useful to be able to pass the hostname (or full URL) to the https_ssl_verify filter.
This would allow me to disable verification for requests to my local development machine (i.e.
wp_remote_get( 'http://vip.local' );
), but keep it enabled for other hosts.
Attachments (2)
Change History (16)
#3
@
7 years ago
- Owner set to purnendu
- Status changed from new to assigned
Assigning to mark the good-first-bug
as "claimed".
#4
@
7 years ago
- Milestone changed from Awaiting Review to 5.0
- Owner changed from purnendu to johnbillion
- Status changed from assigned to reviewing
#6
@
6 years ago
- Keywords needs-patch added; good-first-bug has-patch removed
- Milestone changed from 5.0 to 5.0.1
- Resolution fixed deleted
- Status changed from closed to reopened
@since
needs updating
Note: See
TracTickets for help on using
tickets.
Passing some context to the
http_*
filters seems like a good request.For reference, here's the current HTTP filters, roughly divided into those with context, and those without. Not all of these will need context, such as
block_local_requests
: