mercurial/templates/rss/branchentry.tmpl
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 01 Feb 2013 20:43:35 +0100
branchstable
changeset 18526 9409aeaafdc1
parent 18045 add2f9ddcfb5
permissions -rw-r--r--
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.

<item>
    <title>{branch|escape}</title>
    <link>{urlbase}{url|urlescape}rev/{node|short}</link>
    <description><![CDATA[{branch|strip|escape|addbreaks}]]></description>
    <pubDate>{date|rfc822date}</pubDate>
</item>