annotate mercurial/templates/coal/header.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 b24e5a708fad
children c258f4d2bfb2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 6453
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 6453
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
3 <head>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 14046
diff changeset
4 <link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png" />
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
5 <meta name="robots" content="index, nofollow" />
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 14046
diff changeset
6 <link rel="stylesheet" href="{staticurl|urlescape}style-coal.css" type="text/css" />
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 14046
diff changeset
7 <script type="text/javascript" src="{staticurl|urlescape}mercurial.js"></script>