Mercurial > hg-stable
view mercurial/templates/gitweb/notfound.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 | 616ad3f6fd33 |
children |
line wrap: on
line source
{header} <title>Mercurial repository not found</title> </head> <body> <div class="page_header"> <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> Not found: {repo|escape} </div> <div class="page_body"> The specified repository "{repo|escape}" is unknown, sorry. <br/> <br/> Please go back to the <a href="{url|urlescape}">main repository list page</a>. </div> {footer}