diff options
author | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-23 20:43:47 +0000 |
---|---|---|
committer | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-23 20:43:47 +0000 |
commit | 55fc5993f0fbf0a5e4454b4533db20c74a7a9605 (patch) | |
tree | 0aa9115595aa7c4a35be0c3a2ad28ee3b84f540c | |
parent | 02486f2401b072fb3f5f2a50e68afaf2db9368d3 (diff) |
Fix double-escaping in the item comments feed.
-rw-r--r-- | modules/atom/helpers/atom.php | 2 | ||||
-rw-r--r-- | modules/atom/libraries/Gallery_Atom_Entry.php | 2 | ||||
-rw-r--r-- | modules/atom/libraries/Gallery_Atom_Feed.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/atom/helpers/atom.php b/modules/atom/helpers/atom.php index fed15eb7..d4b895e5 100644 --- a/modules/atom/helpers/atom.php +++ b/modules/atom/helpers/atom.php @@ -39,7 +39,7 @@ class atom_Core { */ public static function get_absolute_url() { $base_url = atom::get_base_url(); - $absolute_url = html::specialchars($base_url . url::current(true)); + $absolute_url = $base_url . url::current(true); return $absolute_url; } diff --git a/modules/atom/libraries/Gallery_Atom_Entry.php b/modules/atom/libraries/Gallery_Atom_Entry.php index 4b035eed..57785fd7 100644 --- a/modules/atom/libraries/Gallery_Atom_Entry.php +++ b/modules/atom/libraries/Gallery_Atom_Entry.php @@ -27,7 +27,7 @@ class Gallery_Atom_Entry_Core extends Atom_Entry { parent::__construct("entry"); /* Set feed ID and self link. */ - $this->id(atom::get_absolute_url()); + $this->id(html::specialchars(atom::get_absolute_url())); $this->link() ->rel("self") ->href(atom::get_absolute_url()); diff --git a/modules/atom/libraries/Gallery_Atom_Feed.php b/modules/atom/libraries/Gallery_Atom_Feed.php index 31f93ec6..ff908682 100644 --- a/modules/atom/libraries/Gallery_Atom_Feed.php +++ b/modules/atom/libraries/Gallery_Atom_Feed.php @@ -27,7 +27,7 @@ class Gallery_Atom_Feed_Core extends Atom_Feed { parent::__construct("feed"); /* Set feed ID and self link. */ - $this->id(atom::get_absolute_url()); + $this->id(html::specialchars(atom::get_absolute_url())); $this->link() ->rel("self") ->href(atom::get_absolute_url()); |