view mercurial/templates/rss/changelogentry.tmpl @ 18526:9409aeaafdc1 stable

hgweb: urlescape all urls, HTML escape repo/tag/branch/... names Without this, repository paths or names containing e.g. & characters or html tags yielded strange results, possibly allowing cross-site scripting attacks.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 01 Feb 2013 20:43:35 +0100
parents f91e5630ce7e
children 19ee4923a2b6
line wrap: on
line source

<item>
    <title>{desc|strip|firstline|strip|escape}</title>
    <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid>
    <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description>
    <author>{author|obfuscate}</author>
    <pubDate>{date|rfc822date}</pubDate>
</item>