From 1235bab5276f8c56ed6ba9cff46563c143c3e240 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 18 Nov 2009 20:07:20 +0000 Subject: Escape all login and username characters in database Display correctly usernames (I hope not to have made mistakes) git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee --- feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'feed.php') diff --git a/feed.php b/feed.php index 1152902fe..cce6a1b1c 100644 --- a/feed.php +++ b/feed.php @@ -106,7 +106,7 @@ set_make_full_url(); $rss = new UniversalFeedCreator(); $rss->encoding=get_pwg_charset(); $rss->title = $conf['gallery_title']; -$rss->title.= ' (as '.$user['username'].')'; +$rss->title.= ' (as '.stripslashes($user['username']).')'; $rss->link = $conf['gallery_url']; -- cgit v1.2.3