aboutsummaryrefslogtreecommitdiffstats
path: root/include/oembed.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-26 15:49:37 -0800
committerfriendica <info@friendica.com>2013-02-26 15:49:37 -0800
commitb69fca14e76a2f5db0cd0924fe5e7056e94771b1 (patch)
tree4034a1f44cbb6115561c2506b36f318382591f8c /include/oembed.php
parent9430117204cdd55581bff52bda71f33db796aae9 (diff)
downloadvolse-hubzilla-b69fca14e76a2f5db0cd0924fe5e7056e94771b1.tar.gz
volse-hubzilla-b69fca14e76a2f5db0cd0924fe5e7056e94771b1.tar.bz2
volse-hubzilla-b69fca14e76a2f5db0cd0924fe5e7056e94771b1.zip
initial doco
Diffstat (limited to 'include/oembed.php')
-rwxr-xr-xinclude/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index ddb8644a3..7f8e4ca7d 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -30,7 +30,7 @@ function oembed_fetch_url($embedurl){
// try oembed autodiscovery
$redirects = 0;
- $result = z_fetch_url($embedurl, false, $redirects, array('timeout' => 15, 'accept_content' => "text/*"));
+ $result = z_fetch_url($embedurl, false, $redirects, array('timeout' => 15, 'accept_content' => "text/*", 'novalidate' => true ));
if($result['success'])
$html_text = $result['body'];