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

 <entry>
  <title>{branch|escape}</title>
  <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/>
  <id>{urlbase}{url|urlescape}#branch-{node}</id>
  <updated>{date|rfc3339date}</updated>
  <published>{date|rfc3339date}</published>
  <content type="text"><![CDATA[{branch|strip|escape|addbreaks}]]></content>
 </entry>