sanitise all incoming url's - also stop them from getting mangled by simplepie

This commit is contained in:
Friendika 2011-02-16 17:32:15 -08:00
parent 9f1f9da89b
commit 527e050ecc
5 changed files with 32 additions and 18 deletions

View file

@ -9226,6 +9226,7 @@ class SimplePie_Misc
function absolutize_url($relative, $base)
{
return $relative;
$iri = SimplePie_IRI::absolutize(new SimplePie_IRI($base), $relative);
return $iri->get_iri();
}