Remove option 'novalidate' flag from HTTPRequest options

This commit is contained in:
Philipp
2020-10-18 22:23:07 +02:00
parent 54d78f9ce1
commit c19f1a83ce
3 changed files with 1 additions and 4 deletions

View File

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