projects
/
web.Reddit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd92c54
)
Reddit/Embedly.php
author
Alan Knowles
<alan@roojs.com>
Tue, 9 Dec 2014 07:54:49 +0000
(15:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 9 Dec 2014 07:54:49 +0000
(15:54 +0800)
Reddit/Embedly.php
patch
|
blob
|
history
diff --git
a/Reddit/Embedly.php
b/Reddit/Embedly.php
index
8f4460b
..
5d222ac
100644
(file)
--- a/
Reddit/Embedly.php
+++ b/
Reddit/Embedly.php
@@
-8,7
+8,7
@@
class Reddit_Embedly extends HTML_FlexyFramework_Page {
}
function get()
{
-
+ $url = htmlspecialchars(urldecode($_REQUEST['url']));
echo '<a class="embedly-card" href="'. htmlspecialchars($_REQUEST['url']) . '">'.htmlspecialchars($_REQUEST['url']) . '</a>
<script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script>';