AnsweredAssumed Answered

Malformed activity feed with paths containing ampersand

Question asked by almoehi on Feb 4, 2013
Latest reply on Feb 5, 2013 by almoehi
Hi everybody,

I have a question concerning RSS feeds. Recently one of our Alfresco users created a folder containing an ampersand character (let it be "this & that" for example). That broke the site activities RSS feed because Alfresco did not replace the "&" in the link URLs (should be %26, I think). Here is the xml of the feed (real names replaced). The validation fails in line 10.

<code lang="xml" linenumbers="normal">
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="">
<generator version="1.0">Alfresco (1.0)</generator>
<link rel="self" href="https://TheServer:443/share/page/feed/components/dashlets/activities/list?format=atomfeed&mode=site&site=TheSite&dateFilter=7&userFilter=all&activityFilter=" />
<title>Alfresco Activities Site Feed for TheSite</title>
<entry xmlns=''>
   <title><![CDATA[TheUser added folder this &amp;amp; that]]></title>
   <link rel="alternate" type="text/html" href="https://TheServer:443/share/page/site/TheSite/documentlibrary?path=/this & that" />
   <summary type="html">
     <![CDATA[<a href="https://TheServer:443/share/page/user/TheUser/profile">TheUser</a> added folder <a href="https://TheServer:443/share/page/site/TheSite/documentlibrary?path=/this & that">this &amp; that</a>]]>

Based on my rudimentary html knowledge I expect to see something like this instead:


Some RSS readers seem to ignore the malformed entry, but thunderbird for example completely refuses to load the whole feed. I have renamed the folder, but I also have to remove the defective entry from the feed somehow. So my question is: Where can I find it? Where is the feed cache?

PS: This seems to be a bug, should it be reported? According to a quick search in the bug database the issue is not known by now.

Thanks in advance,