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