diff --git a/mod/parse_url.php b/mod/parse_url.php index 3c931fdb1e..1904d9219d 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -85,7 +85,7 @@ function parse_url_content(App $a) // Check if the URL is an image, video or audio file. If so format // the URL with the corresponding BBCode media tag // Fetch the header of the URL - $curlResponse = DI::httpRequest()->head($url, ['novalidate' => true]); + $curlResponse = DI::httpRequest()->head($url); if ($curlResponse->isSuccess()) { // Convert the header fields into an array diff --git a/src/Network/IHTTPRequest.php b/src/Network/IHTTPRequest.php index 6c839dd3d9..8927941e81 100644 --- a/src/Network/IHTTPRequest.php +++ b/src/Network/IHTTPRequest.php @@ -63,7 +63,6 @@ interface IHTTPRequest * @param array $opts (optional parameters) assoziative array with: * 'accept_content' => supply Accept: header with 'accept_content' as the value * 'timeout' => int Timeout in seconds, default system config value or 60 seconds - * 'novalidate' => do not validate SSL certs, default is to validate using our CA list * 'cookiejar' => path to cookie jar file * 'header' => header array * @@ -78,7 +77,6 @@ interface IHTTPRequest * @param array $opts (optional parameters) assoziative array with: * 'accept_content' => supply Accept: header with 'accept_content' as the value * 'timeout' => int Timeout in seconds, default system config value or 60 seconds - * 'novalidate' => do not validate SSL certs, default is to validate using our CA list * 'cookiejar' => path to cookie jar file * 'header' => header array * diff --git a/src/Util/HTTPSignature.php b/src/Util/HTTPSignature.php index 4d6ae7e90c..2b98b1a32e 100644 --- a/src/Util/HTTPSignature.php +++ b/src/Util/HTTPSignature.php @@ -403,7 +403,6 @@ class HTTPSignature * @param array $opts (optional parameters) assoziative array with: * 'accept_content' => supply Accept: header with 'accept_content' as the value * 'timeout' => int Timeout in seconds, default system config value or 60 seconds - * 'novalidate' => do not validate SSL certs, default is to validate using our CA list * 'nobody' => only return the header * 'cookiejar' => path to cookie jar file *