aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-10 17:40:40 -0700
committerzotlabs <mike@macgirvin.com>2017-09-10 17:40:40 -0700
commit187fc9a51b4549659925a6c0c5c5bbb474c6bcf5 (patch)
tree05b12078a306894c97aab01321933eb30e9fa85a /include
parentabbf245d1471f8038843c74541fb2f8a704dc8a4 (diff)
downloadvolse-hubzilla-187fc9a51b4549659925a6c0c5c5bbb474c6bcf5.tar.gz
volse-hubzilla-187fc9a51b4549659925a6c0c5c5bbb474c6bcf5.tar.bz2
volse-hubzilla-187fc9a51b4549659925a6c0c5c5bbb474c6bcf5.zip
fix regex
Diffstat (limited to 'include')
-rwxr-xr-xinclude/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index f662d84c7..390fcba94 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -231,7 +231,7 @@ function oembed_fetch_url($embedurl){
// So if we see this, grab the frame src url and use that
// as the embed content - which will still need to be purified.
- if(preg_match('#<iframe(.*?)src=[\'\"](.?*)[\'\"]#',$matches,$j['html'])) {
+ if(preg_match('#<iframe(.*?)src=[\'\"](.*?)[\'\"]#',$matches,$j['html'])) {
$x = z_fetch_url($matches[2]);
$j['html'] = $x['body'];
}