diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-10 22:59:26 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-10 22:59:26 -0700 |
commit | 471449f539a29fcd8a181aca70510f222b172261 (patch) | |
tree | 91f2750191bfed518bee2a74827eacdaef1600fe | |
parent | 187fc9a51b4549659925a6c0c5c5bbb474c6bcf5 (diff) | |
download | volse-hubzilla-471449f539a29fcd8a181aca70510f222b172261.tar.gz volse-hubzilla-471449f539a29fcd8a181aca70510f222b172261.tar.bz2 volse-hubzilla-471449f539a29fcd8a181aca70510f222b172261.zip |
regex was still broken
-rwxr-xr-x | include/oembed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php index 390fcba94..c2bf0a0ed 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\=[\'\"](.*?)[\'\"]#',$j['html'],$matches)) { $x = z_fetch_url($matches[2]); $j['html'] = $x['body']; } |