projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1cc65b
)
URLs in href attributes must always be htmlencoded.
author
Jan Schneider
<jan@horde.org>
Fri, 15 Oct 2010 11:08:32 +0000
(13:08 +0200)
committer
Jan Schneider
<jan@horde.org>
Fri, 15 Oct 2010 11:08:32 +0000
(13:08 +0200)
framework/Url/lib/Horde/Url.php
patch
|
blob
|
history
diff --git
a/framework/Url/lib/Horde/Url.php
b/framework/Url/lib/Horde/Url.php
index
2c6661d
..
02422fd
100644
(file)
--- 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 = '<a';
if (!empty($url)) {
$link .= " href=\"$url\"";