// 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
* @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
*
* @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
*
* @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
*