Commit dd653214 authored by olinuxx's avatar olinuxx

[bp/r68543] [FIX] add urlencode to the RSS parser - credits for this patch...

[bp/r68543] [FIX] add urlencode to the RSS parser - credits for this patch goes to gradator at tuxfamily.org
parent b2dc1977
......@@ -264,7 +264,7 @@ class RSSLib extends TikiDb_Bridge
$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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment