Change the HTTP API's URL validation default, in trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dfcf4b5eae
commit
fe79cf8fd7
@ -87,7 +87,7 @@ class WP_Http {
|
||||
'redirection' => apply_filters( 'http_request_redirection_count', 5),
|
||||
'httpversion' => apply_filters( 'http_request_version', '1.0'),
|
||||
'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) ),
|
||||
'reject_unsafe_urls' => apply_filters( 'http_request_reject_unsafe_urls', false ),
|
||||
'reject_unsafe_urls' => apply_filters( 'http_request_reject_unsafe_urls', true ),
|
||||
'blocking' => true,
|
||||
'headers' => array(),
|
||||
'cookies' => array(),
|
||||
|
Loading…
Reference in New Issue
Block a user