Mercurial > hg
annotate templates/header.tmpl @ 3555:881064004fd0
use untrusted settings in hgweb
The only exceptions are web.static and web.templates, since they can
be used to get any file that is readable by the user running the CGI
script.
Other options can be (ab)used to increase the use of the cpu
(allow_bz2) or of the bandwidth (server.uncompressed), but they're
trusted anyway.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 26 Oct 2006 19:25:45 +0200 |
parents | d1aa83f199ef |
children | 713e35dcc321 |
rev | line source |
---|---|
142 | 1 Content-type: text/html |
2 | |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
142
diff
changeset
|
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
142 | 4 <html> |
5 <head> | |
3265
d1aa83f199ef
Update templates to use NewWebInterface
Brendan Cully <brendan@kublai.com>
parents:
2126
diff
changeset
|
6 <link rel="icon" href="#url#static/hgicon.png" type="image/png"> |
1628
88ad18c16ae5
[hgweb] Prevent search engine bots from indexing the entire repository
Matt Mackall <mpm@selenic.com>
parents:
1425
diff
changeset
|
7 <meta name="robots" content="index, nofollow" /> |
3265
d1aa83f199ef
Update templates to use NewWebInterface
Brendan Cully <brendan@kublai.com>
parents:
2126
diff
changeset
|
8 <link rel="stylesheet" href="#url#static/style.css" type="text/css" /> |