Mercurial > hg
annotate mercurial/templates/atom/branches.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 | add2f9ddcfb5 |
children | dd2cf90a3731 |
rev | line source |
---|---|
18045
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
1 {header} |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18045
diff
changeset
|
2 <id>{urlbase}{url|urlescape}</id> |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18045
diff
changeset
|
3 <link rel="self" href="{urlbase}{url|urlescape}atom-tags"/> |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18045
diff
changeset
|
4 <link rel="alternate" href="{urlbase}{url|urlescape}tags"/> |
18045
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
5 <title>{repo|escape}: branches</title> |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
6 <summary>{repo|escape} branch history</summary> |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
7 <author><name>Mercurial SCM</name></author> |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
8 {latestentry%feedupdated} |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
9 |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
10 {entries%branchentry} |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
11 </feed> |