paste.tuxfamily.org
Userdata
Name
gradator
Scriptlanguage
Plain Text
Tabwidth
4
Date
12/11/2018 05:25:01 pm
IP
37.173.249.77
Description
et voila
Code (
Hide rownumbers
)
linuxmao.org/htdocs$ diff -Nru lib/rss/rsslib.php.{a,b}
--- lib/rss/rsslib.php.a 2018-12-11 18:24:34.628625827 +0100
+++ lib/rss/rsslib.php.b 2018-12-11 18:24:19.788700079 +0100
@@ -264,7 +264,7 @@
$item->setTitle($data[$titleId]);
if (isset($data['sefurl'])) {
- $item->setLink($URLPrefix.$data['sefurl']);
+ $item->setLink($URLPrefix.urlencode($data['sefurl']));
} elseif ($urlparam != '') { // 2 parameters to replace
$item->setlink(sprintf($read, urlencode($data["$id"]), urlencode($data["$urlparam"])));
} else {
gnopaste submitter »
gnopaster.pl
|
nopaste.docs
« useful documents