mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
6ca8967a44
Without this, repository paths or names containing e.g. & characters or html tags yielded strange results, possibly allowing cross-site scripting attacks.
40 lines
1.1 KiB
Cheetah
40 lines
1.1 KiB
Cheetah
{header}
|
|
<title>{repo|escape}: Mercurial repositories index</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="container">
|
|
<div class="page-header">
|
|
<h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h1>
|
|
<ul class="page-nav">
|
|
</ul>
|
|
</div>
|
|
|
|
<table cellspacing="0">
|
|
<tr>
|
|
<td><a href="?sort={sort_name}">Name</a></td>
|
|
<td><a href="?sort={sort_description}">Description</a></td>
|
|
<td><a href="?sort={sort_contact}">Contact</a></td>
|
|
<td><a href="?sort={sort_lastchange}">Last modified</a></td>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
{entries%indexentry}
|
|
</table>
|
|
<div class="page-footer">
|
|
{motd}
|
|
</div>
|
|
|
|
<div id="powered-by">
|
|
<p><a href="{logourl}" title="Mercurial"><img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a></p>
|
|
</div>
|
|
|
|
<div id="corner-top-left"></div>
|
|
<div id="corner-top-right"></div>
|
|
<div id="corner-bottom-left"></div>
|
|
<div id="corner-bottom-right"></div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|