Mercurial > hg-stable
view mercurial/templates/spartan/footer.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 | 44382887d012 |
children | eb7de21b15be |
line wrap: on
line source
<script type="text/javascript">process_dates()</script> {motd} <div class="logo"> <a href="{logourl}"> <img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a> </div> </body> </html>