mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
sanitise all incoming url's - also stop them from getting mangled by simplepie
This commit is contained in:
parent
9f1f9da89b
commit
527e050ecc
5 changed files with 32 additions and 18 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue