From: Jan Schneider Date: Fri, 15 Oct 2010 11:08:32 +0000 (+0200) Subject: URLs in href attributes must always be htmlencoded. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=831de081dacd4d8a289be51223dd9d267da116ba;p=horde.git URLs in href attributes must always be htmlencoded. --- diff --git a/framework/Url/lib/Horde/Url.php b/framework/Url/lib/Horde/Url.php index 2c6661d48..02422fd37 100644 --- a/framework/Url/lib/Horde/Url.php +++ b/framework/Url/lib/Horde/Url.php @@ -280,7 +280,7 @@ class Horde_Url */ public function link(array $attributes = array()) { - $url = (string)$this; + $url = (string)$this->setRaw(false); $link = '