From 55fc5993f0fbf0a5e4454b4533db20c74a7a9605 Mon Sep 17 00:00:00 2001 From: Jozef Selesi Date: Sun, 23 Nov 2008 20:43:47 +0000 Subject: Fix double-escaping in the item comments feed. --- modules/atom/libraries/Gallery_Atom_Entry.php | 2 +- modules/atom/libraries/Gallery_Atom_Feed.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/atom/libraries') 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()); -- cgit v1.2.3