From 1ff8cddeb6b9eb53c2714893c61e378e8efc2768 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 11 Nov 2011 17:33:32 +0100 Subject: oembed: replace base64 url for iframe with url site/oembed/url_encoded fix http://bugs.friendika.com/view.php?id=191 --- mod/oembed.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mod/oembed.php (limited to 'mod') diff --git a/mod/oembed.php b/mod/oembed.php new file mode 100644 index 000000000..25995813a --- /dev/null +++ b/mod/oembed.php @@ -0,0 +1,13 @@ +argc == 2){ + echo ""; + $url = base64url_decode($a->argv[1]); + $j = oembed_fetch_url($url); + echo $j->html; + echo ""; + } + killme(); +} -- cgit v1.2.3