Mercurial > hg-stable
changeset 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.
line wrap: on
line diff
--- a/mercurial/templates/atom/bookmarkentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/bookmarkentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ <entry> <title>{bookmark|escape}</title> - <link rel="alternate" href="{urlbase}{url}rev/{node|short}"/> - <id>{urlbase}{url}#bookmark-{node}</id> + <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/> + <id>{urlbase}{url|urlescape}#bookmark-{node}</id> <updated>{date|rfc3339date}</updated> <published>{date|rfc3339date}</published> <content type="text">{bookmark|strip|escape}</content>
--- a/mercurial/templates/atom/bookmarks.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/bookmarks.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} - <id>{urlbase}{url}</id> - <link rel="self" href="{urlbase}{url}atom-bookmarks"/> - <link rel="alternate" href="{urlbase}{url}bookmarks"/> + <id>{urlbase}{url|urlescape}</id> + <link rel="self" href="{urlbase}{url|urlescape}atom-bookmarks"/> + <link rel="alternate" href="{urlbase}{url|urlescape}bookmarks"/> <title>{repo|escape}: bookmarks</title> <summary>{repo|escape} bookmark history</summary> <author><name>Mercurial SCM</name></author>
--- a/mercurial/templates/atom/branchentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/branchentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ <entry> <title>{branch|escape}</title> - <link rel="alternate" href="{urlbase}{url}rev/{node|short}"/> - <id>{urlbase}{url}#branch-{node}</id> + <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/> + <id>{urlbase}{url|urlescape}#branch-{node}</id> <updated>{date|rfc3339date}</updated> <published>{date|rfc3339date}</published> <content type="text"><![CDATA[{branch|strip|escape|addbreaks}]]></content>
--- a/mercurial/templates/atom/branches.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/branches.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} - <id>{urlbase}{url}</id> - <link rel="self" href="{urlbase}{url}atom-tags"/> - <link rel="alternate" href="{urlbase}{url}tags"/> + <id>{urlbase}{url|urlescape}</id> + <link rel="self" href="{urlbase}{url|urlescape}atom-tags"/> + <link rel="alternate" href="{urlbase}{url|urlescape}tags"/> <title>{repo|escape}: branches</title> <summary>{repo|escape} branch history</summary> <author><name>Mercurial SCM</name></author>
--- a/mercurial/templates/atom/changelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/changelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,8 +1,8 @@ {header} <!-- Changelog --> - <id>{urlbase}{url}</id> - <link rel="self" href="{urlbase}{url}atom-log"/> - <link rel="alternate" href="{urlbase}{url}"/> + <id>{urlbase}{url|urlescape}</id> + <link rel="self" href="{urlbase}{url|urlescape}atom-log"/> + <link rel="alternate" href="{urlbase}{url|urlescape}"/> <title>{repo|escape} Changelog</title> {latestentry%feedupdated}
--- a/mercurial/templates/atom/changelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/changelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ <entry> <title>{desc|strip|firstline|strip|escape|nonempty}</title> - <id>{urlbase}{url}#changeset-{node}</id> - <link href="{urlbase}{url}rev/{node|short}"/> + <id>{urlbase}{url|urlescape}#changeset-{node}</id> + <link href="{urlbase}{url|urlescape}rev/{node|short}"/> <author> <name>{author|person|escape}</name> <email>{author|email|obfuscate}</email>
--- a/mercurial/templates/atom/error.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/error.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,8 +1,8 @@ {header} <!-- Error --> - <id>{urlbase}{url}</id> - <link rel="self" href="{urlbase}{url}atom-log"/> - <link rel="alternate" href="{urlbase}{url}"/> + <id>{urlbase}{url|urlescape}</id> + <link rel="self" href="{urlbase}{url|urlescape}atom-log"/> + <link rel="alternate" href="{urlbase}{url|urlescape}"/> <title>Error</title> <updated>1970-01-01T00:00:00+00:00</updated> <entry>
--- a/mercurial/templates/atom/filelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/filelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,6 +1,6 @@ {header} - <id>{urlbase}{url}atom-log/tip/{file|escape}</id> - <link rel="self" href="{urlbase}{url}atom-log/tip/{file|urlescape}"/> + <id>{urlbase}{url|urlescape}atom-log/tip/{file|escape}</id> + <link rel="self" href="{urlbase}{url|urlescape}atom-log/tip/{file|urlescape}"/> <title>{repo|escape}: {file|escape} history</title> {latestentry%feedupdated}
--- a/mercurial/templates/atom/tagentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/tagentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ <entry> <title>{tag|escape}</title> - <link rel="alternate" href="{urlbase}{url}rev/{node|short}"/> - <id>{urlbase}{url}#tag-{node}</id> + <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/> + <id>{urlbase}{url|urlescape}#tag-{node}</id> <updated>{date|rfc3339date}</updated> <published>{date|rfc3339date}</published> <content type="text">{tag|strip|escape}</content>
--- a/mercurial/templates/atom/tags.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/tags.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} - <id>{urlbase}{url}</id> - <link rel="self" href="{urlbase}{url}atom-tags"/> - <link rel="alternate" href="{urlbase}{url}tags"/> + <id>{urlbase}{url|urlescape}</id> + <link rel="self" href="{urlbase}{url|urlescape}atom-tags"/> + <link rel="alternate" href="{urlbase}{url|urlescape}tags"/> <title>{repo|escape}: tags</title> <summary>{repo|escape} tag history</summary> <author><name>Mercurial SCM</name></author>
--- a/mercurial/templates/coal/header.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/coal/header.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> <head> -<link rel="icon" href="{staticurl}hgicon.png" type="image/png" /> +<link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png" /> <meta name="robots" content="index, nofollow" /> -<link rel="stylesheet" href="{staticurl}style-coal.css" type="text/css" /> -<script type="text/javascript" src="{staticurl}mercurial.js"></script> +<link rel="stylesheet" href="{staticurl|urlescape}style-coal.css" type="text/css" /> +<script type="text/javascript" src="{staticurl|urlescape}mercurial.js"></script>
--- a/mercurial/templates/coal/map Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/coal/map Fri Feb 01 20:43:35 2013 +0100 @@ -13,14 +13,14 @@ help = ../paper/help.tmpl helptopics = ../paper/helptopics.tmpl -helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' +helpentry = '<tr><td><a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' -naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' -filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' -filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' +naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' +filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' +filenodelink = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' filenolink = '{file|escape} ' fileellipses = '...' diffstatlink = ../paper/diffstat.tmpl @@ -38,10 +38,10 @@ direntry = ' <tr class="fileline parity{parity}"> <td class="name"> - <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"> - <img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/ + <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"> + <img src="{staticurl|urlescape}coal-folder.png" alt="dir."/> {basename|escape}/ </a> - <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}"> {emptydirs|escape} </a> </td> @@ -52,8 +52,8 @@ fileentry = ' <tr class="fileline parity{parity}"> <td class="filename"> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> - <img src="{staticurl}coal-file.png" alt="file"/> {basename|escape} + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <img src="{staticurl|urlescape}coal-file.png" alt="file"/> {basename|escape} </a> </td> <td class="size">{size}</td> @@ -72,7 +72,7 @@ annotateline = ' <tr class="parity{parity}"> <td class="annotate"> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> </td> <td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td> @@ -97,19 +97,19 @@ changelogparent = ' <tr> <th class="parent">parent {rev}:</th> - <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' -changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' +changesetparent = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' -filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> ' -filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> ' +filerevparent = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> ' +filerevchild = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> ' filerename = '{file|escape}@' filelogrename = ' <span class="base"> base - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {file|escape}@{node|short} </a> </span>' @@ -117,17 +117,17 @@ <tr> <td class="metatag">parent:</td> <td> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {rename%filerename}{node|short} </a> </td> </tr>' -changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' +changesetchild = ' <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' changelogchild = ' <tr> <th class="child">child</th> <td class="child"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> {node|short} </a> </td> @@ -136,7 +136,7 @@ <tr> <td class="metatag">child:</td> <td> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {node|short} </a> </td> @@ -145,7 +145,7 @@ tagentry = ' <tr class="tagEntry parity{parity}"> <td> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> {tag|escape} </a> </td> @@ -157,7 +157,7 @@ bookmarkentry = ' <tr class="tagEntry parity{parity}"> <td> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> {bookmark|escape} </a> </td> @@ -169,7 +169,7 @@ branchentry = ' <tr class="tagEntry parity{parity}"> <td> - <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> + <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> {branch|escape} </a> </td> @@ -186,41 +186,41 @@ filediffparent = ' <tr> <th class="parent">parent {rev}:</th> - <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filelogparent = ' <tr> <th>parent {rev}:</th> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filediffchild = ' <tr> <th class="child">child {rev}:</th> - <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> + <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' filelogchild = ' <tr> <th>child {rev}:</th> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' indexentry = ' <tr class="parity{parity}"> - <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td> + <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td> <td>{description}</td> <td>{contact|obfuscate}</td> <td class="age">{lastchange|rfc822date}</td> <td class="indexlinks">{archives%indexarchiveentry}</td> </tr>\n' -indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}"> ↓{type|escape}</a>' +indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension|urlescape}"> ↓{type|escape}</a>' index = ../paper/index.tmpl archiveentry = ' <li> - <a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> + <a href="{url|urlescape}archive/{node|short}{extension|urlescape}">{type|escape}</a> </li>' notfound = ../paper/notfound.tmpl error = ../paper/error.tmpl urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' -breadcrumb = '> <a href="{url}">{name}</a> ' +breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> '
--- a/mercurial/templates/gitweb/bookmarks.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/bookmarks.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Bookmarks</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-bookmarks" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-bookmarks" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-bookmarks" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-bookmarks" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,15 +13,15 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | bookmarks | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div>
--- a/mercurial/templates/gitweb/branches.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/branches.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Branches</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-branches" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-branches" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-branches" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-branches" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,15 +13,15 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | branches | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div>
--- a/mercurial/templates/gitweb/changelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/changelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Changelog</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -12,7 +12,7 @@ <a href="/">Mercurial</a> {pathdef%breadcrumb} / changelog </div> -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <div class="search"> <input type="text" name="rev" /> @@ -20,15 +20,15 @@ </form> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> | changelog | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> {changenav%nav}<br/> </div>
--- a/mercurial/templates/gitweb/changelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/changelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ <div> -<a class="title" href="{url}rev/{node|short}{sessionvars%urlparameter}"><span class="age">{date|rfc822date}</span>{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a> +<a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"><span class="age">{date|rfc822date}</span>{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a> </div> <div class="title_text"> <div class="log_link"> -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a><br/> +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a><br/> </div> <i>{author|obfuscate} [{date|rfc822date}] rev {rev}</i><br/> </div>
--- a/mercurial/templates/gitweb/changeset.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/changeset.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: changeset {rev}:{node|short}</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,22 +13,22 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> | changeset | -<a href="{url}raw-rev/{node|short}">raw</a> {archives%archiveentry} | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}raw-rev/{node|short}">raw</a> {archives%archiveentry} | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div> <div> -<a class="title" href="{url}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a> +<a class="title" href="{url|urlescape}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a> </div> <div class="title_text"> <table cellspacing="0">
--- a/mercurial/templates/gitweb/error.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/error.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Error</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,14 +13,14 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div>
--- a/mercurial/templates/gitweb/fileannotate.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/fileannotate.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: {file|escape}@{node|short} (annotated)</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,23 +13,23 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | -<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | -<a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | -<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | +<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | +<a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | annotate | -<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | -<a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | -<a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | +<a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | +<a href="{url|urlescape}raw-annotate/{node|short}/{file|urlescape}">raw</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div> @@ -46,7 +46,7 @@ {branch%filerevbranch} <tr> <td>changeset {rev}</td> - <td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> + <td style="font-family:monospace"><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> {parent%fileannotateparent} {child%fileannotatechild} <tr>
--- a/mercurial/templates/gitweb/filecomparison.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/filecomparison.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: comparison {file|escape}</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,23 +13,23 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | -<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | -<a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | -<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | -<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | -<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | +<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | +<a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | +<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | +<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | comparison | -<a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}raw-diff/{node|short}/{file|urlescape}">raw</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div> @@ -39,7 +39,7 @@ {branch%filerevbranch} <tr> <td>changeset {rev}</td> - <td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> + <td style="font-family:monospace"><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> {parent%filecompparent} {child%filecompchild} </table>
--- a/mercurial/templates/gitweb/filediff.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/filediff.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: diff {file|escape}</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,23 +13,23 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | -<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | -<a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | -<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | -<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | +<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | +<a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | +<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | diff | -<a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | -<a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | +<a href="{url|urlescape}raw-diff/{node|short}/{file|urlescape}">raw</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div> @@ -39,7 +39,7 @@ {branch%filerevbranch} <tr> <td>changeset {rev}</td> - <td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> + <td style="font-family:monospace"><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> {parent%filediffparent} {child%filediffchild} </table>
--- a/mercurial/templates/gitweb/filelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/filelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: File revisions</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,20 +13,20 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | revisions | -<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | -<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | -<a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | -<a href="{url}rss-log/tip/{file|urlescape}">rss</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | +<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | +<a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | +<a href="{url|urlescape}rss-log/tip/{file|urlescape}">rss</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> {nav%filenav} </div>
--- a/mercurial/templates/gitweb/filerevision.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/filerevision.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: {file|escape}@{node|short}</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,23 +13,23 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | file | -<a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | -<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | -<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | -<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | -<a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | -<a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | +<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | +<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | +<a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | +<a href="{url|urlescape}raw-file/{node|short}/{file|urlescape}">raw</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div> @@ -46,7 +46,7 @@ {branch%filerevbranch} <tr> <td>changeset {rev}</td> - <td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> + <td style="font-family:monospace"><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> {parent%filerevparent} {child%filerevchild} <tr>
--- a/mercurial/templates/gitweb/footer.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/footer.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -2,8 +2,8 @@ <div class="page_footer"> <div class="page_footer_text">{repo|escape}</div> <div class="rss_logo"> -<a href="{url}rss-log">RSS</a> -<a href="{url}atom-log">Atom</a> +<a href="{url|urlescape}rss-log">RSS</a> +<a href="{url|urlescape}atom-log">Atom</a> </div> <br /> {motd}
--- a/mercurial/templates/gitweb/graph.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/graph.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,10 +1,10 @@ {header} <title>{repo|escape}: Graph</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> -<!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> +<!--[if IE]><script type="text/javascript" src="{staticurl|urlescape}excanvas.js"></script><![endif]--> </head> <body> @@ -13,25 +13,25 @@ <a href="/">Mercurial</a> {pathdef%breadcrumb} / graph </div> -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <div class="search"> <input type="text" name="rev" /> </div> </form> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> | graph | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> -<a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> -<a href="{url}graph/{rev}{morevars%urlparameter}">more</a> +<a href="{url|urlescape}graph/{rev}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}graph/{rev}{morevars%urlparameter}">more</a> | {changenav%navgraph}<br/> </div> @@ -89,7 +89,7 @@ } var item = '<li style="' + nstyle + '"><span class="desc">'; - item += '<a class="list" href="{url}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '"><b>' + cur[3] + '</b></a>'; + item += '<a class="list" href="{url|urlescape}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '"><b>' + cur[3] + '</b></a>'; item += '</span> ' + tagspan + ''; item += '<span class="info">' + cur[5] + ', by ' + cur[4] + '</span></li>'; @@ -103,8 +103,8 @@ </script> <div class="page_nav"> -<a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> -<a href="{url}graph/{rev}{morevars%urlparameter}">more</a> +<a href="{url|urlescape}graph/{rev}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}graph/{rev}{morevars%urlparameter}">more</a> | {changenav%navgraph} </div>
--- a/mercurial/templates/gitweb/header.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/header.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -2,7 +2,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> <head> -<link rel="icon" href="{staticurl}hgicon.png" type="image/png" /> +<link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png" /> <meta name="robots" content="index, nofollow"/> -<link rel="stylesheet" href="{staticurl}style-gitweb.css" type="text/css" /> -<script type="text/javascript" src="{staticurl}mercurial.js"></script> +<link rel="stylesheet" href="{staticurl|urlescape}style-gitweb.css" type="text/css" /> +<script type="text/javascript" src="{staticurl|urlescape}mercurial.js"></script>
--- a/mercurial/templates/gitweb/help.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/help.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Branches</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-tags" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-tags" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,14 +13,14 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> | help <br/> </div>
--- a/mercurial/templates/gitweb/helptopics.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/helptopics.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Branches</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-tags" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-tags" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,14 +13,14 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> | help <br/> </div>
--- a/mercurial/templates/gitweb/manifest.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/manifest.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: files</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,16 +13,16 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | files | -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry} | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry} | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div> @@ -32,7 +32,7 @@ <td style="font-family:monospace">drwxr-xr-x</td> <td style="font-family:monospace"></td> <td style="font-family:monospace"></td> -<td><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> +<td><a href="{url|urlescape}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> <td class="link"> </td> </tr> {dentries%direntry}
--- a/mercurial/templates/gitweb/map Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/map Fri Feb 01 20:43:35 2013 +0100 @@ -11,35 +11,35 @@ help = help.tmpl helptopics = helptopics.tmpl -helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' +helpentry = '<tr><td><a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' -naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' -filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' +naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' +filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' filenodelink = ' <tr class="parity{parity}"> - <td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> + <td><a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> <td></td> <td class="link"> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | - <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | - <a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | - <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | + <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | + <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | + <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> </td> </tr>' filenolink = ' <tr class="parity{parity}"> - <td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> + <td><a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> <td></td> <td class="link"> file | annotate | - <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | - <a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | - <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> + <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | + <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | + <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> </td> </tr>' @@ -59,11 +59,11 @@ <td style="font-family:monospace"></td> <td style="font-family:monospace"></td> <td> - <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> - <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a> + <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> + <a href="{url|urlescape}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a> </td> <td class="link"> - <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> </td> </tr>' fileentry = ' @@ -72,12 +72,12 @@ <td style="font-family:monospace" align=right>{date|isodate}</td> <td style="font-family:monospace" align=right>{size}</td> <td class="list"> - <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> + <a class="list" href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> </td> <td class="link"> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | - <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | + <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> </td> </tr>' filerevision = filerevision.tmpl @@ -92,7 +92,7 @@ annotateline = ' <tr style="font-family:monospace" class="parity{parity}"> <td class="linenr" style="text-align: right;"> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> </td> <td><pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a></pre></td> @@ -117,34 +117,34 @@ <tr> <th class="parent">parent {rev}:</th> <td class="parent"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' -changesetbranch = '<tr><td>branch</td><td>{name}</td></tr>' +changesetbranch = '<tr><td>branch</td><td>{name|escape}</td></tr>' changesetparent = ' <tr> <td>parent {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> + <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' -filerevbranch = '<tr><td>branch</td><td>{name}</td></tr>' +filerevbranch = '<tr><td>branch</td><td>{name|escape}</td></tr>' filerevparent = ' <tr> <td>parent {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a class="list" href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {rename%filerename}{node|short} </a> </td> </tr>' filerename = '{file|escape}@' -filelogrename = '| <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>' +filelogrename = '| <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>' fileannotateparent = ' <tr> <td>parent {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a class="list" href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {rename%filerename}{node|short} </a> </td> @@ -152,59 +152,59 @@ changelogchild = ' <tr> <th class="child">child {rev}:</th> - <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' changesetchild = ' <tr> <td>child {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> + <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' filerevchild = ' <tr> <td>child {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <a class="list" href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' fileannotatechild = ' <tr> <td>child {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <a class="list" href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' tags = tags.tmpl tagentry = ' <tr class="parity{parity}"> <td class="age"><i class="age">{date|rfc822date}</i></td> - <td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td> + <td><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td> <td class="link"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | - <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | - <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | + <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> | + <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' bookmarks = bookmarks.tmpl bookmarkentry = ' <tr class="parity{parity}"> <td class="age"><i class="age">{date|rfc822date}</i></td> - <td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{bookmark|escape}</b></a></td> + <td><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"><b>{bookmark|escape}</b></a></td> <td class="link"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | - <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | - <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | + <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> | + <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' branches = branches.tmpl branchentry = ' <tr class="parity{parity}"> <td class="age"><i class="age">{date|rfc822date}</i></td> - <td><a class="list" href="{url}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td> + <td><a class="list" href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td> <td class="{status}">{branch|escape}</td> <td class="link"> - <a href="{url}changeset/{node|short}{sessionvars%urlparameter}">changeset</a> | - <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | - <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}changeset/{node|short}{sessionvars%urlparameter}">changeset</a> | + <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> | + <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' diffblock = '<pre>{lines}</pre>' @@ -212,7 +212,7 @@ <tr> <td>parent {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {node|short} </a> </td> @@ -221,7 +221,7 @@ <tr> <td>parent {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a class="list" href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {node|short} </a> </td> @@ -229,64 +229,64 @@ filelogparent = ' <tr> <td align="right">parent {rev}: </td> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filediffchild = ' <tr> <td>child {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> + <a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' filecompchild = ' <tr> <td>child {rev}</td> <td style="font-family:monospace"> - <a class="list" href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> + <a class="list" href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' filelogchild = ' <tr> <td align="right">child {rev}: </td> - <td><a href="{url}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' shortlog = shortlog.tmpl graph = graph.tmpl -tagtag = '<span class="tagtag" title="{name}">{name}</span> ' -branchtag = '<span class="branchtag" title="{name}">{name}</span> ' -inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' -bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> ' +tagtag = '<span class="tagtag" title="{name|escape}">{name|escape}</span> ' +branchtag = '<span class="branchtag" title="{name|escape}">{name|escape}</span> ' +inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> ' +bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> ' shortlogentry = ' <tr class="parity{parity}"> <td class="age"><i class="age">{date|rfc822date}</i></td> <td><i>{author|person}</i></td> <td> - <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> <b>{desc|strip|firstline|escape|nonempty}</b> <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span> </a> </td> <td class="link" nowrap> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | - <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | + <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' filelogentry = ' <tr class="parity{parity}"> <td class="age"><i class="age">{date|rfc822date}</i></td> <td> - <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> <b>{desc|strip|firstline|escape|nonempty}</b> </a> </td> <td class="link"> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> {rename%filelogrename}</td> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> {rename%filelogrename}</td> </tr>' -archiveentry = ' | <a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' +archiveentry = ' | <a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a> ' indexentry = ' <tr class="parity{parity}"> <td> - <a class="list" href="{url}{sessionvars%urlparameter}"> + <a class="list" href="{url|urlescape}{sessionvars%urlparameter}"> <b>{name|escape}</b> </a> </td> @@ -296,13 +296,13 @@ <td class="indexlinks">{archives%indexarchiveentry}</td> <td>{if(isdirectory, '', '<div class="rss_logo"> - <a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a> + <a href="{url|urlescape}rss-log">RSS</a> <a href="{url|urlescape}atom-log">Atom</a> </div>' )} </td> </tr>\n' -indexarchiveentry = ' <a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' +indexarchiveentry = ' <a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a> ' index = index.tmpl urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' -breadcrumb = '> <a href="{url}">{name}</a> ' +breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> '
--- a/mercurial/templates/gitweb/notfound.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/notfound.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -12,7 +12,7 @@ The specified repository "{repo|escape}" is unknown, sorry. <br/> <br/> -Please go back to the <a href="{url}">main repository list page</a>. +Please go back to the <a href="{url|urlescape}">main repository list page</a>. </div> {footer}
--- a/mercurial/templates/gitweb/search.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/search.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Search</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -11,7 +11,7 @@ <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> <a href="/">Mercurial</a> {pathdef%breadcrumb} / search -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <div class="search"> <input type="text" name="rev" value="{query|escape}" /> @@ -20,16 +20,16 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} | - <a href="{url}help{sessionvars%urlparameter}">help</a> + <a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div>
--- a/mercurial/templates/gitweb/shortlog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/shortlog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Shortlog</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -12,22 +12,22 @@ <a href="/">Mercurial</a> {pathdef%breadcrumb} / shortlog </div> -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <div class="search"> <input type="text" name="rev" /> </div> </form> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | shortlog | -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/>{changenav%navshort}<br/> </div>
--- a/mercurial/templates/gitweb/summary.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/summary.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,16 +1,16 @@ {header} <title>{repo|escape}: Summary</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> <div class="page_header"> <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> <a href="/">Mercurial</a> {pathdef%breadcrumb} / summary -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <div class="search"> <input type="text" name="rev" /> @@ -20,14 +20,14 @@ <div class="page_nav"> summary | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | -<a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div> @@ -38,29 +38,29 @@ <tr><td>last change</td><td>{lastchange|rfc822date}</td></tr> </table> -<div><a class="title" href="{url}shortlog{sessionvars%urlparameter}">changes</a></div> +<div><a class="title" href="{url|urlescape}shortlog{sessionvars%urlparameter}">changes</a></div> <table cellspacing="0"> {shortlog} -<tr class="light"><td colspan="4"><a class="list" href="{url}shortlog{sessionvars%urlparameter}">...</a></td></tr> +<tr class="light"><td colspan="4"><a class="list" href="{url|urlescape}shortlog{sessionvars%urlparameter}">...</a></td></tr> </table> -<div><a class="title" href="{url}tags{sessionvars%urlparameter}">tags</a></div> +<div><a class="title" href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></div> <table cellspacing="0"> {tags} -<tr class="light"><td colspan="3"><a class="list" href="{url}tags{sessionvars%urlparameter}">...</a></td></tr> +<tr class="light"><td colspan="3"><a class="list" href="{url|urlescape}tags{sessionvars%urlparameter}">...</a></td></tr> </table> -<div><a class="title" href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></div> +<div><a class="title" href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></div> <table cellspacing="0"> {bookmarks%bookmarkentry} -<tr class="light"><td colspan="3"><a class="list" href="{url}bookmarks{sessionvars%urlparameter}">...</a></td></tr> +<tr class="light"><td colspan="3"><a class="list" href="{url|urlescape}bookmarks{sessionvars%urlparameter}">...</a></td></tr> </table> -<div><a class="title" href="{url}branches{sessionvars%urlparameter}">branches</a></div> +<div><a class="title" href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></div> <table cellspacing="0"> {branches%branchentry} <tr class="light"> - <td colspan="4"><a class="list" href="{url}branches{sessionvars%urlparameter}">...</a></td> + <td colspan="4"><a class="list" href="{url|urlescape}branches{sessionvars%urlparameter}">...</a></td> </tr> </table> {footer}
--- a/mercurial/templates/gitweb/tags.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/tags.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: Tags</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-tags" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-tags" title="RSS feed for {repo|escape}"/> + href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}"/> </head> <body> @@ -13,15 +13,15 @@ </div> <div class="page_nav"> -<a href="{url}summary{sessionvars%urlparameter}">summary</a> | -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | -<a href="{url}log{sessionvars%urlparameter}">changelog</a> | -<a href="{url}graph{sessionvars%urlparameter}">graph</a> | +<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> | +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> | tags | -<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> | -<a href="{url}branches{sessionvars%urlparameter}">branches</a> | -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> | +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <br/> </div>
--- a/mercurial/templates/monoblue/bookmarks.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/bookmarks.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Bookmarks</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / bookmarks</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,15 +18,15 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> <li class="current">bookmarks</li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div>
--- a/mercurial/templates/monoblue/branches.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/branches.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Branches</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-branches" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-branches" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-branches" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-branches" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / branches</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,15 +18,15 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li class="current">branches</li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div>
--- a/mercurial/templates/monoblue/changelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/changelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: changelog</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / changelog</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,15 +18,15 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> <li class="current">changelog</li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div>
--- a/mercurial/templates/monoblue/changelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/changelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,4 +1,4 @@ -<h3 class="changelog"><a class="title" href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3> +<h3 class="changelog"><a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3> <ul class="changelog-entry"> <li class="age">{date|rfc822date}</li> <li>by <span class="name">{author|obfuscate}</span> <span class="revdate">[{date|rfc822date}] rev {rev}</span></li>
--- a/mercurial/templates/monoblue/changeset.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/changeset.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: changeset {rev}:{node|short}</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / changeset</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,26 +18,26 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <ul class="submenu"> <li class="current">changeset</li> - <li><a href="{url}raw-rev/{node|short}">raw</a> {archives%archiveentry}</li> + <li><a href="{url|urlescape}raw-rev/{node|short}">raw</a> {archives%archiveentry}</li> </ul> <h2 class="no-link no-border">changeset</h2> - <h3 class="changeset"><a href="{url}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3> + <h3 class="changeset"><a href="{url|urlescape}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3> <p class="changeset-age age">{date|rfc822date}</p> <dl class="overview">
--- a/mercurial/templates/monoblue/error.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/error.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Error</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / not found: {repo|escape}</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -19,14 +19,14 @@ <ul class="page-nav"> <li class="current">summary</li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div>
--- a/mercurial/templates/monoblue/fileannotate.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/fileannotate.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: {file|escape}@{node|short} (annotated)</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / annotate</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,25 +18,25 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <ul class="submenu"> - <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> - <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> + <li><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> + <li><a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> <li class="current">annotate</li> - <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> - <li><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> - <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li> + <li><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> + <li><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> + <li><a href="{url|urlescape}raw-annotate/{node|short}/{file|urlescape}">raw</a></li> </ul> <h2 class="no-link no-border">{file|escape}@{node|short} (annotated)</h2> @@ -50,7 +50,7 @@ <dd>{date|rfc822date}</dd> {branch%filerevbranch} <dt>changeset {rev}</dt> - <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> + <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> {parent%fileannotateparent} {child%fileannotatechild} <dt>permissions</dt>
--- a/mercurial/templates/monoblue/filecomparison.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/filecomparison.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: comparison {file|escape}</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / file comparison</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,25 +18,25 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <ul class="submenu"> - <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> - <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> - <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> - <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> + <li><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> + <li><a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> + <li><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> + <li><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> <li class="current">comparison</li> - <li><a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a></li> + <li><a href="{url|urlescape}raw-diff/{node|short}/{file|urlescape}">raw</a></li> </ul> <h2 class="no-link no-border">comparison: {file|escape}</h2> @@ -45,7 +45,7 @@ <dl class="overview"> {branch%filerevbranch} <dt>changeset {rev}</dt> - <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> + <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> {parent%filecompparent} {child%filecompchild} </dl>
--- a/mercurial/templates/monoblue/filediff.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/filediff.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: diff {file|escape}</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / file diff</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,25 +18,25 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <ul class="submenu"> - <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> - <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> - <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> + <li><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> + <li><a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> + <li><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> <li class="current">diff</li> - <li><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> - <li><a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a></li> + <li><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> + <li><a href="{url|urlescape}raw-diff/{node|short}/{file|urlescape}">raw</a></li> </ul> <h2 class="no-link no-border">diff: {file|escape}</h2> @@ -45,7 +45,7 @@ <dl class="overview"> {branch%filerevbranch} <dt>changeset {rev}</dt> - <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> + <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> {parent%filediffparent} {child%filediffchild} </dl>
--- a/mercurial/templates/monoblue/filelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/filelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: File revisions</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / file revisions</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,25 +18,25 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <ul class="submenu"> - <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> + <li><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> <li class="current">revisions</li> - <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> - <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> - <li><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> - <li><a href="{url}rss-log/tip/{file|urlescape}">rss</a></li> + <li><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> + <li><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> + <li><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> + <li><a href="{url|urlescape}rss-log/tip/{file|urlescape}">rss</a></li> </ul> <h2 class="no-link no-border">{file|urlescape}</h2>
--- a/mercurial/templates/monoblue/filerevision.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/filerevision.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: {file|escape}@{node|short}</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / file revision</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,25 +18,25 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <ul class="submenu"> <li class="current">file</li> - <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> - <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> - <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> - <li><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> - <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> + <li><a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> + <li><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> + <li><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> + <li><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> + <li><a href="{url|urlescape}raw-file/{node|short}/{file|urlescape}">raw</a></li> </ul> <h2 class="no-link no-border">{file|escape}@{node|short}</h2> @@ -50,7 +50,7 @@ <dd>{date|rfc822date}</dd> {branch%filerevbranch} <dt>changeset {rev}</dt> - <dd><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> + <dd><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> {parent%filerevparent} {child%filerevchild} <dt>permissions</dt>
--- a/mercurial/templates/monoblue/footer.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/footer.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -2,14 +2,14 @@ <div class="page-footer"> <p>Mercurial Repository: {repo|escape}</p> <ul class="rss-logo"> - <li><a href="{url}rss-log">RSS</a></li> - <li><a href="{url}atom-log">Atom</a></li> + <li><a href="{url|urlescape}rss-log">RSS</a></li> + <li><a href="{url|urlescape}atom-log">Atom</a></li> </ul> {motd} </div> <div id="powered-by"> - <p><a href="{logourl}" title="Mercurial"><img src="{staticurl}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a></p> + <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>
--- a/mercurial/templates/monoblue/graph.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/graph.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,8 +1,8 @@ {header} <title>{repo|escape}: graph</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> - <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> + <!--[if IE]><script type="text/javascript" src="{staticurl|urlescape}excanvas.js"></script><![endif]--> </head> <body> @@ -10,7 +10,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / graph</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -19,15 +19,15 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> <li class="current">graph</li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -86,7 +86,7 @@ } var item = '<li style="' + nstyle + '"><span class="desc">'; - item += '<a href="{url}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '">' + cur[3] + '</a>'; + item += '<a href="{url|urlescape}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '">' + cur[3] + '</a>'; item += '</span>' + tagspan + '<span class="info">' + cur[5] + ', by ' + cur[4] + '</span></li>'; return [bg, item]; @@ -99,8 +99,8 @@ </script> <div class="page-path"> - <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> - <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> + <a href="{url|urlescape}graph/{rev}{lessvars%urlparameter}">less</a> + <a href="{url|urlescape}graph/{rev}{morevars%urlparameter}">more</a> | {changenav%navgraph} </div>
--- a/mercurial/templates/monoblue/header.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/header.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <link rel="icon" href="{staticurl}hgicon.png" type="image/png" /> + <link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png" /> <meta name="robots" content="index, nofollow"/> - <link rel="stylesheet" href="{staticurl}style-monoblue.css" type="text/css" /> - <script type="text/javascript" src="{staticurl}mercurial.js"></script> + <link rel="stylesheet" href="{staticurl|urlescape}style-monoblue.css" type="text/css" /> + <script type="text/javascript" src="{staticurl|urlescape}mercurial.js"></script>
--- a/mercurial/templates/monoblue/help.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/help.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Branches</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / help</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,14 +18,14 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li class="current">help</li> </ul> </div>
--- a/mercurial/templates/monoblue/helptopics.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/helptopics.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Branches</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / help</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,14 +18,14 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li class="current">help</li> </ul> </div>
--- a/mercurial/templates/monoblue/index.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/index.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -26,7 +26,7 @@ </div> <div id="powered-by"> - <p><a href="{logourl}" title="Mercurial"><img src="{staticurl}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a></p> + <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>
--- a/mercurial/templates/monoblue/manifest.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/manifest.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: files</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / files</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,20 +18,20 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> <li class="current">files</li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <ul class="submenu"> - <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry}</li> + <li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry}</li> {archives%archiveentry} </ul> @@ -43,7 +43,7 @@ <td>drwxr-xr-x</td> <td></td> <td></td> - <td><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> + <td><a href="{url|urlescape}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> <td class="link"> </td> </tr> {dentries%direntry}
--- a/mercurial/templates/monoblue/map Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/map Fri Feb 01 20:43:35 2013 +0100 @@ -11,35 +11,35 @@ help = help.tmpl helptopics = helptopics.tmpl -helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' +helpentry = '<tr><td><a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' -naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>' -filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' +naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>' +filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' filenodelink = ' <tr class="parity{parity}"> - <td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> + <td><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> <td></td> <td> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | - <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | - <a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | - <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | + <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | + <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | + <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> </td> </tr>' filenolink = ' <tr class="parity{parity}"> - <td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> + <td><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> <td></td> <td> file | annotate | - <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | - <a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | - <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> + <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | + <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | + <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> </td> </tr>' @@ -58,19 +58,19 @@ <td>drwxr-xr-x</td> <td></td> <td></td> - <td><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td> - <td><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></td> + <td><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td> + <td><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></td> </tr>' fileentry = ' <tr class="parity{parity}"> <td>{permissions|permissions}</td> <td>{date|isodate}</td> <td>{size}</td> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td> <td> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | - <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | + <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> </td> </tr>' filerevision = filerevision.tmpl @@ -85,7 +85,7 @@ annotateline = ' <tr class="parity{parity}"> <td class="linenr"> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> </td> <td class="lineno"> @@ -112,136 +112,136 @@ <tr> <th class="parent">parent {rev}:</th> <td class="parent"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' -changesetbranch = '<dt>branch</dt><dd>{name}</dd>' +changesetbranch = '<dt>branch</dt><dd>{name|escape}</dd>' changesetparent = ' <dt>parent {rev}</dt> - <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' -filerevbranch = '<dt>branch</dt><dd>{name}</dd>' + <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' +filerevbranch = '<dt>branch</dt><dd>{name|escape}</dd>' filerevparent = ' <dt>parent {rev}</dt> <dd> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {rename%filerename}{node|short} </a> </dd>' filerename = '{file|escape}@' -filelogrename = '| <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>' +filelogrename = '| <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>' fileannotateparent = ' <dt>parent {rev}</dt> <dd> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {rename%filerename}{node|short} </a> </dd>' changelogchild = ' <dt>child {rev}:</dt> - <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' + <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' changesetchild = ' <dt>child {rev}</dt> - <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' + <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' filerevchild = ' <dt>child {rev}</dt> <dd> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> </dd>' fileannotatechild = ' <dt>child {rev}</dt> <dd> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> </dd>' tags = tags.tmpl tagentry = ' <tr class="parity{parity}"> <td class="nowrap age">{date|rfc822date}</td> - <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td> + <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td> <td class="nowrap"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | - <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | - <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | + <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> | + <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' bookmarks = bookmarks.tmpl bookmarkentry = ' <tr class="parity{parity}"> <td class="nowrap date">{date|rfc822date}</td> - <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td> + <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td> <td class="nowrap"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | - <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | - <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | + <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> | + <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' branches = branches.tmpl branchentry = ' <tr class="parity{parity}"> <td class="nowrap age">{date|rfc822date}</td> - <td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> <td class="{status}">{branch|escape}</td> <td class="nowrap"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | - <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | - <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | + <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> | + <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' diffblock = '<pre>{lines}</pre>' filediffparent = ' <dt>parent {rev}</dt> - <dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' + <dd><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' filecompparent = ' <dt>parent {rev}</dt> - <dd><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' + <dd><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' filelogparent = ' <tr> <td align="right">parent {rev}: </td> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filediffchild = ' <dt>child {rev}</dt> - <dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' + <dd><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' filecompchild = ' <dt>child {rev}</dt> - <dd><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' + <dd><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' filelogchild = ' <tr> <td align="right">child {rev}: </td> - <td><a href="{url}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' shortlog = shortlog.tmpl -tagtag = '<span class="tagtag" title="{name}">{name}</span> ' -branchtag = '<span class="branchtag" title="{name}">{name}</span> ' -inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' -bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> ' +tagtag = '<span class="tagtag" title="{name|escape}">{name|escape}</span> ' +branchtag = '<span class="branchtag" title="{name|escape}">{name|escape}</span> ' +inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> ' +bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> ' shortlogentry = ' <tr class="parity{parity}"> <td class="nowrap age">{date|rfc822date}</td> <td>{author|person}</td> <td> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> {desc|strip|firstline|escape|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span> </a> </td> <td class="nowrap"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | - <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | + <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' filelogentry = ' <tr class="parity{parity}"> <td class="nowrap age">{date|rfc822date}</td> - <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td> + <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td> <td class="nowrap"> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> {rename%filelogrename} </td> </tr>' -archiveentry = '<li><a href="{url}archive/{node|short}{extension}">{type|escape}</a></li>' +archiveentry = '<li><a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a></li>' indexentry = ' <tr class="parity{parity}"> - <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td> + <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td> <td>{description}</td> <td>{contact|obfuscate}</td> <td class="age">{lastchange|rfc822date}</td> @@ -249,14 +249,14 @@ <td> {if(isdirectory, '', '<div class="rss_logo"> - <a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a> + <a href="{url|urlescape}rss-log">RSS</a> <a href="{url|urlescape}atom-log">Atom</a> </div>' )} </td> </tr>\n' -indexarchiveentry = '<a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' +indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a> ' index = index.tmpl urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' graph = graph.tmpl -breadcrumb = '> <a href="{url}">{name}</a> ' +breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> '
--- a/mercurial/templates/monoblue/notfound.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/notfound.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Mercurial repository not found</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / not found: {repo|escape}</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -19,19 +19,19 @@ <ul class="page-nav"> <li class="current">summary</li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <h2 class="no-link no-border">Not Found</h2> <p class="normal">The specified repository "{repo|escape}" is unknown, sorry.</p> - <p class="normal">Please go back to the <a href="{url}">main repository list page</a>.</p> + <p class="normal">Please go back to the <a href="{url|urlescape}">main repository list page</a>.</p> {footer}
--- a/mercurial/templates/monoblue/search.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/search.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Search</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / search</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,15 +18,15 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div>
--- a/mercurial/templates/monoblue/shortlog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/shortlog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: shortlog</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / shortlog</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,16 +18,16 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> <li class="current">shortlog</li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> {archives%archiveentry} - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div>
--- a/mercurial/templates/monoblue/summary.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/summary.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Summary</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / summary</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -19,14 +19,14 @@ <ul class="page-nav"> <li class="current">summary</li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -42,27 +42,27 @@ <dd>{lastchange|rfc822date}</dd> </dl> - <h2><a href="{url}shortlog{sessionvars%urlparameter}">Changes</a></h2> + <h2><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">Changes</a></h2> <table> {shortlog} <tr class="light"> - <td colspan="4"><a class="list" href="{url}shortlog{sessionvars%urlparameter}">...</a></td> + <td colspan="4"><a class="list" href="{url|urlescape}shortlog{sessionvars%urlparameter}">...</a></td> </tr> </table> - <h2><a href="{url}tags{sessionvars%urlparameter}">Tags</a></h2> + <h2><a href="{url|urlescape}tags{sessionvars%urlparameter}">Tags</a></h2> <table> {tags} <tr class="light"> - <td colspan="3"><a class="list" href="{url}tags{sessionvars%urlparameter}">...</a></td> + <td colspan="3"><a class="list" href="{url|urlescape}tags{sessionvars%urlparameter}">...</a></td> </tr> </table> - <h2><a href="{url}bookmarks{sessionvars%urlparameter}">Bookmarks</a></h2> + <h2><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">Bookmarks</a></h2> <table> {bookmarks%bookmarkentry} <tr class="light"> - <td colspan="3"><a class="list" href="{url}bookmarks{sessionvars%urlparameter}">...</a></td> + <td colspan="3"><a class="list" href="{url|urlescape}bookmarks{sessionvars%urlparameter}">...</a></td> </tr> </table>
--- a/mercurial/templates/monoblue/tags.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/tags.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} <title>{repo|escape}: Tags</title> - <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> - <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> + <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> @@ -9,7 +9,7 @@ <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / tags</h1> - <form action="{url}log"> + <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> @@ -18,15 +18,15 @@ </form> <ul class="page-nav"> - <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> - <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> - <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li> + <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li> + <li><a href="{url|urlescape}changelog{sessionvars%urlparameter}">changelog</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> <li class="current">tags</li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div>
--- a/mercurial/templates/paper/bookmarks.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/bookmarks.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: bookmarks</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-bookmarks" title="Atom feed for {repo|escape}: bookmarks" /> + href="{url|urlescape}atom-bookmarks" title="Atom feed for {repo|escape}: bookmarks" /> <link rel="alternate" type="application/rss+xml" - href="{url}rss-bookmarks" title="RSS feed for {repo|escape}: bookmarks" /> + href="{url|urlescape}rss-bookmarks" title="RSS feed for {repo|escape}: bookmarks" /> </head> <body> @@ -11,22 +11,22 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> <li class="active">bookmarks</li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> <p> <div class="atom-logo"> -<a href="{url}atom-bookmarks" title="subscribe to atom feed"> -<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"> +<a href="{url|urlescape}atom-bookmarks" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"> </a> </div> </div> @@ -35,7 +35,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>bookmarks</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/branches.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/branches.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: branches</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-branches" title="Atom feed for {repo|escape}: branches" /> + href="{url|urlescape}atom-branches" title="Atom feed for {repo|escape}: branches" /> <link rel="alternate" type="application/rss+xml" - href="{url}rss-branches" title="RSS feed for {repo|escape}: branches" /> + href="{url|urlescape}rss-branches" title="RSS feed for {repo|escape}: branches" /> </head> <body> @@ -11,22 +11,22 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li class="active">branches</li> </ul> <ul> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> <p> <div class="atom-logo"> -<a href="{url}atom-branches" title="subscribe to atom feed"> -<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"> +<a href="{url|urlescape}atom-branches" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"> </a> </div> </div> @@ -35,7 +35,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>branches</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision, @@ -50,7 +50,7 @@ {entries % ' <tr class="tagEntry parity{parity}"> <td> - <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> + <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> {branch|escape} </a> </td>
--- a/mercurial/templates/paper/changeset.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/changeset.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -6,25 +6,25 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> - <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> - <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> - <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> - <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> - <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> + <li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> + <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> + <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> + <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> <li class="active">changeset</li> - <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li> - <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li> + <li><a href="{url|urlescape}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li> + <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> {archives%archiveentry} </ul> <ul> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -33,7 +33,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag} {changesetbookmark}</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/error.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/error.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,17 +7,17 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -26,7 +26,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>error</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30"></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/fileannotate.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/fileannotate.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,31 +7,31 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> -<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> +<li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> +<li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> -<li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> -<li><a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li> -<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> -<li><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> +<li><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> +<li><a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li> +<li><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> +<li><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> <li class="active">annotate</li> -<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> -<li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li> +<li><a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> +<li><a href="{url|urlescape}raw-annotate/{node|short}/{file|urlescape}">raw</a></li> </ul> <ul> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -39,7 +39,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>annotate {file|escape} @ {rev}:{node|short}</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/filecomparison.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/filecomparison.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,30 +7,30 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> -<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> +<li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> +<li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> -<li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> -<li><a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li> -<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> +<li><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> +<li><a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li> +<li><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> <li class="active">comparison</li> -<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> -<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> -<li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> +<li><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> +<li><a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> +<li><a href="{url|urlescape}raw-file/{node|short}/{file|urlescape}">raw</a></li> </ul> <ul> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -38,7 +38,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>comparison {file|escape} @ {rev}:{node|short}</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> <p>{sessionvars%hiddenformentry}</p> <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/filediff.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/filediff.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,30 +7,30 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> -<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> +<li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> +<li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> -<li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> -<li><a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li> +<li><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> +<li><a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li> <li class="active">diff</li> -<li><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> -<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> -<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> -<li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> +<li><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> +<li><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> +<li><a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> +<li><a href="{url|urlescape}raw-file/{node|short}/{file|urlescape}">raw</a></li> </ul> <ul> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -38,7 +38,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>diff {file|escape} @ {rev}:{node|short}</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> <p>{sessionvars%hiddenformentry}</p> <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/filelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/filelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: {file|escape} history</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}" /> + href="{url|urlescape}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}" /> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}" /> + href="{url|urlescape}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}" /> </head> <body> @@ -11,34 +11,34 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> -<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> +<li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> +<li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> -<li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> -<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> -<li><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> -<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> +<li><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> +<li><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> +<li><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> +<li><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> <li class="active">file log</li> -<li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> +<li><a href="{url|urlescape}raw-file/{node|short}/{file|urlescape}">raw</a></li> </ul> <ul> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> <p> <div class="atom-logo"> -<a href="{url}atom-log/{node|short}/{file|urlescape}" title="subscribe to atom feed"> -<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"></a> +<a href="{url|urlescape}atom-log/{node|short}/{file|urlescape}" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"></a> </div> </div> @@ -46,7 +46,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>log {file|escape}</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision, @@ -54,8 +54,8 @@ </form> <div class="navigate"> -<a href="{url}log/{node|short}/{file|urlescape}{lessvars%urlparameter}">less</a> -<a href="{url}log/{node|short}/{file|urlescape}{morevars%urlparameter}">more</a> +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{morevars%urlparameter}">more</a> | {nav%filenav}</div> <table class="bigtable"> @@ -68,8 +68,8 @@ </table> <div class="navigate"> -<a href="{url}log/{node|short}/{file|urlescape}{lessvars%urlparameter}">less</a> -<a href="{url}log/{node|short}/{file|urlescape}{morevars%urlparameter}">more</a> +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{morevars%urlparameter}">more</a> | {nav%filenav} </div>
--- a/mercurial/templates/paper/filelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/filelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,5 +1,5 @@ <tr class="parity{parity}"> <td class="age">{date|rfc822date}</td> <td class="author">{author|person}</td> - <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{rename%filelogrename}</td> + <td class="description"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{rename%filelogrename}</td> </tr>
--- a/mercurial/templates/paper/filerevision.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/filerevision.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,29 +7,29 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> -<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> +<li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> +<li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> <li class="active">file</li> -<li><a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li> -<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> -<li><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> -<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> -<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> -<li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> +<li><a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li> +<li><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> +<li><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li> +<li><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> +<li><a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> +<li><a href="{url|urlescape}raw-file/{node|short}/{file|urlescape}">raw</a></li> </ul> <ul> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -37,7 +37,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>view {file|escape} @ {rev}:{node|short}</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/graph.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/graph.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,10 +1,10 @@ {header} <title>{repo|escape}: revision graph</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}: log" /> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}: log" /> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}: log" /> -<!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}: log" /> +<!--[if IE]><script type="text/javascript" src="{staticurl|urlescape}excanvas.js"></script><![endif]--> </head> <body> @@ -12,26 +12,26 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> <li class="active">graph</li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> -<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> +<li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> +<li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> <p> <div class="atom-logo"> -<a href="{url}atom-log" title="subscribe to atom feed"> -<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"> +<a href="{url|urlescape}atom-log" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"> </a> </div> </div> @@ -40,7 +40,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>graph</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision, @@ -48,8 +48,8 @@ </form> <div class="navigate"> -<a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> -<a href="{url}graph/{rev}{morevars%urlparameter}">more</a> +<a href="{url|urlescape}graph/{rev}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}graph/{rev}{morevars%urlparameter}">more</a> | rev {rev}: {changenav%navgraph} </div> @@ -105,7 +105,7 @@ } var item = '<li style="' + nstyle + '"><span class="desc">'; - item += '<a href="{url}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '">' + cur[3] + '</a>'; + item += '<a href="{url|urlescape}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '">' + cur[3] + '</a>'; item += '</span>' + tagspan + '<span class="info">' + cur[5] + ', by ' + cur[4] + '</span></li>'; return [bg, item]; @@ -118,8 +118,8 @@ </script> <div class="navigate"> -<a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> -<a href="{url}graph/{rev}{morevars%urlparameter}">more</a> +<a href="{url|urlescape}graph/{rev}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}graph/{rev}{morevars%urlparameter}">more</a> | rev {rev}: {changenav%navgraph} </div>
--- a/mercurial/templates/paper/header.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/header.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> <head> -<link rel="icon" href="{staticurl}hgicon.png" type="image/png" /> +<link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png" /> <meta name="robots" content="index, nofollow" /> -<link rel="stylesheet" href="{staticurl}style-paper.css" type="text/css" /> -<script type="text/javascript" src="{staticurl}mercurial.js"></script> +<link rel="stylesheet" href="{staticurl|urlescape}style-paper.css" type="text/css" /> +<script type="text/javascript" src="{staticurl|urlescape}mercurial.js"></script>
--- a/mercurial/templates/paper/help.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/help.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,17 +7,17 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> - <li class="active"><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li class="active"><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -25,7 +25,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>Help: {topic}</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/helptopics.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/helptopics.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,14 +7,14 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> <li class="active">help</li> @@ -23,7 +23,7 @@ <div class="main"> <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/paper/index.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/index.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -6,7 +6,7 @@ <div class="container"> <div class="menu"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a> </div> <div class="main"> <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
--- a/mercurial/templates/paper/manifest.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/manifest.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,24 +7,24 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> +<li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> <li class="active">browse</li> </ul> <ul> {archives%archiveentry} </ul> <ul> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -32,7 +32,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision, @@ -46,7 +46,7 @@ <th class="permissions">permissions</th> </tr> <tr class="fileline parity{upparity}"> - <td class="name"><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> + <td class="name"><a href="{url|urlescape}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> <td class="size"></td> <td class="permissions">drwxr-xr-x</td> </tr>
--- a/mercurial/templates/paper/map Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/map Fri Feb 01 20:43:35 2013 +0100 @@ -12,14 +12,14 @@ help = help.tmpl helptopics = helptopics.tmpl -helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' +helpentry = '<tr><td><a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' -naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' -filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' -filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' +naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' +filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' +filenodelink = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' filenolink = '{file|escape} ' fileellipses = '...' diffstatlink = diffstat.tmpl @@ -37,10 +37,10 @@ direntry = ' <tr class="fileline parity{parity}"> <td class="name"> - <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"> - <img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/ + <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"> + <img src="{staticurl|urlescape}coal-folder.png" alt="dir."/> {basename|escape}/ </a> - <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}"> {emptydirs|escape} </a> </td> @@ -51,8 +51,8 @@ fileentry = ' <tr class="fileline parity{parity}"> <td class="filename"> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> - <img src="{staticurl}coal-file.png" alt="file"/> {basename|escape} + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <img src="{staticurl|urlescape}coal-file.png" alt="file"/> {basename|escape} </a> </td> <td class="size">{size}</td> @@ -71,7 +71,7 @@ annotateline = ' <tr class="parity{parity}"> <td class="annotate"> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> </td> <td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td> @@ -96,21 +96,21 @@ changelogparent = ' <tr> <th class="parent">parent {rev}:</th> - <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' -changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' +changesetparent = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' -difffrom = '<a href="{url}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">{node|short}</a> ' +difffrom = '<a href="{url|urlescape}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">{node|short}</a> ' -filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> ' -filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> ' +filerevparent = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> ' +filerevchild = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> ' filerename = '{file|escape}@' filelogrename = ' <span class="base"> base - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {file|escape}@{node|short} </a> </span>' @@ -118,17 +118,17 @@ <tr> <td class="metatag">parent:</td> <td> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {rename%filerename}{node|short} </a> </td> </tr>' -changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' +changesetchild = ' <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' changelogchild = ' <tr> <th class="child">child</th> <td class="child"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> {node|short} </a> </td> @@ -137,7 +137,7 @@ <tr> <td class="metatag">child:</td> <td> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {node|short} </a> </td> @@ -146,7 +146,7 @@ tagentry = ' <tr class="tagEntry parity{parity}"> <td> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> {tag|escape} </a> </td> @@ -158,7 +158,7 @@ bookmarkentry = ' <tr class="tagEntry parity{parity}"> <td> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> {bookmark|escape} </a> </td> @@ -170,7 +170,7 @@ branchentry = ' <tr class="tagEntry parity{parity}"> <td> - <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> + <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> {branch|escape} </a> </td> @@ -187,48 +187,48 @@ filediffparent = ' <tr> <th class="parent">parent {rev}:</th> - <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filelogparent = ' <tr> <th>parent {rev}:</th> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filediffchild = ' <tr> <th class="child">child {rev}:</th> - <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> + <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' filelogchild = ' <tr> <th>child {rev}:</th> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' indexentry = ' <tr class="parity{parity}"> - <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td> + <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td> <td>{description}</td> <td>{contact|obfuscate}</td> <td class="age">{lastchange|rfc822date}</td> <td class="indexlinks">{archives%indexarchiveentry}</td> <td> {if(isdirectory, '', - '<a href="{url}atom-log" title="subscribe to repository atom feed"> - <img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="subscribe to repository atom feed"> + '<a href="{url|urlescape}atom-log" title="subscribe to repository atom feed"> + <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="subscribe to repository atom feed"> </a>' )} </td> </tr>\n' -indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}"> ↓{type|escape}</a>' +indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension|urlescape}"> ↓{type|escape}</a>' index = index.tmpl archiveentry = ' <li> - <a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> + <a href="{url|urlescape}archive/{node|short}{extension|urlescape}">{type|escape}</a> </li>' notfound = notfound.tmpl error = error.tmpl urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' -breadcrumb = '> <a href="{url}">{name}</a> ' +breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> '
--- a/mercurial/templates/paper/notfound.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/notfound.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,6 +7,6 @@ The specified repository "{repo|escape}" is unknown, sorry. -Please go back to the <a href="{url}">main repository list page</a>. +Please go back to the <a href="{url|urlescape}">main repository list page</a>. {footer}
--- a/mercurial/templates/paper/search.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/search.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,15 +7,15 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a> +<img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a> </div> <ul> -<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> @@ -23,7 +23,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>searching for '{query|escape}'</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30"></p> <div id="hint">find changesets by author, revision, @@ -31,8 +31,8 @@ </form> <div class="navigate"> -<a href="{url}search/{lessvars%urlparameter}">less</a> -<a href="{url}search/{morevars%urlparameter}">more</a> +<a href="{url|urlescape}search/{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}search/{morevars%urlparameter}">more</a> </div> <table class="bigtable"> @@ -45,8 +45,8 @@ </table> <div class="navigate"> -<a href="{url}search/{lessvars%urlparameter}">less</a> -<a href="{url}search/{morevars%urlparameter}">more</a> +<a href="{url|urlescape}search/{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}search/{morevars%urlparameter}">more</a> </div> </div>
--- a/mercurial/templates/paper/shortlog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/shortlog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: log</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}" /> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}" /> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}" /> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}" /> </head> <body> @@ -11,29 +11,29 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> <li class="active">log</li> -<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> -<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> -<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> +<li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> +<li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> {archives%archiveentry} </ul> <ul> - <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> <p> <div class="atom-logo"> -<a href="{url}atom-log" title="subscribe to atom feed"> -<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"> +<a href="{url|urlescape}atom-log" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"> </a> </div> </div> @@ -42,7 +42,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>log</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision, @@ -50,8 +50,8 @@ </form> <div class="navigate"> -<a href="{url}shortlog/{rev}{lessvars%urlparameter}">less</a> -<a href="{url}shortlog/{rev}{morevars%urlparameter}">more</a> +<a href="{url|urlescape}shortlog/{rev}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}shortlog/{rev}{morevars%urlparameter}">more</a> | rev {rev}: {changenav%navshort} </div> @@ -65,8 +65,8 @@ </table> <div class="navigate"> -<a href="{url}shortlog/{rev}{lessvars%urlparameter}">less</a> -<a href="{url}shortlog/{rev}{morevars%urlparameter}">more</a> +<a href="{url|urlescape}shortlog/{rev}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}shortlog/{rev}{morevars%urlparameter}">more</a> | rev {rev}: {changenav%navshort} </div>
--- a/mercurial/templates/paper/shortlogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/shortlogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,5 +1,5 @@ <tr class="parity{parity}"> <td class="age">{date|rfc822date}</td> <td class="author">{author|person}</td> - <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags % '<span class="tag">{name|escape}</span> '}{bookmarks % '<span class="tag">{name|escape}</span> '}</td> + <td class="description"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags % '<span class="tag">{name|escape}</span> '}{bookmarks % '<span class="tag">{name|escape}</span> '}</td> </tr>
--- a/mercurial/templates/paper/tags.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/tags.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} <title>{repo|escape}: tags</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-tags" title="Atom feed for {repo|escape}: tags" /> + href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}: tags" /> <link rel="alternate" type="application/rss+xml" - href="{url}rss-tags" title="RSS feed for {repo|escape}: tags" /> + href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}: tags" /> </head> <body> @@ -11,22 +11,22 @@ <div class="menu"> <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" alt="mercurial" /></a> +<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> -<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> -<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> +<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> +<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li> <li class="active">tags</li> -<li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> -<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> +<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> +<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> -<li><a href="{url}help{sessionvars%urlparameter}">help</a></li> +<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> <p> <div class="atom-logo"> -<a href="{url}atom-tags" title="subscribe to atom feed"> -<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"></a> +<a href="{url|urlescape}atom-tags" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"></a> </div> </div> @@ -34,7 +34,7 @@ <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>tags</h3> -<form class="search" action="{url}log"> +<form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision,
--- a/mercurial/templates/rss/bookmarkentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/rss/bookmarkentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,6 +1,6 @@ <item> <title>{bookmark|escape}</title> - <link>{urlbase}{url}rev/{node|short}</link> + <link>{urlbase}{url|urlescape}rev/{node|short}</link> <description><![CDATA[{bookmark|strip|escape|addbreaks}]]></description> <pubDate>{date|rfc822date}</pubDate> </item>
--- a/mercurial/templates/rss/branchentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/rss/branchentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,6 +1,6 @@ <item> <title>{branch|escape}</title> - <link>{urlbase}{url}rev/{node|short}</link> + <link>{urlbase}{url|urlescape}rev/{node|short}</link> <description><![CDATA[{branch|strip|escape|addbreaks}]]></description> <pubDate>{date|rfc822date}</pubDate> </item>
--- a/mercurial/templates/rss/changelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/rss/changelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,6 +1,6 @@ <item> <title>{desc|strip|firstline|strip|escape}</title> - <guid isPermaLink="true">{urlbase}{url}rev/{node|short}</guid> + <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid> <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description> <author>{author|obfuscate}</author> <pubDate>{date|rfc822date}</pubDate>
--- a/mercurial/templates/rss/filelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/rss/filelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,6 +1,6 @@ <item> <title>{desc|strip|firstline|strip|escape}</title> - <link>{urlbase}{url}log{node|short}/{file|urlescape}</link> + <link>{urlbase}{url|urlescape}log{node|short}/{file|urlescape}</link> <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description> <author>{author|obfuscate}</author> <pubDate>{date|rfc822date}</pubDate>
--- a/mercurial/templates/rss/header.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/rss/header.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="{encoding}"?> <rss version="2.0"> <channel> - <link>{urlbase}{url}</link> + <link>{urlbase}{url|urlescape}</link> <language>en-us</language>
--- a/mercurial/templates/rss/tagentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/rss/tagentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,6 +1,6 @@ <item> <title>{tag|escape}</title> - <link>{urlbase}{url}rev/{node|short}</link> + <link>{urlbase}{url|urlescape}rev/{node|short}</link> <description><![CDATA[{tag|strip|escape|addbreaks}]]></description> <pubDate>{date|rfc822date}</pubDate> </item>
--- a/mercurial/templates/spartan/branches.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/branches.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,21 +1,21 @@ {header} <title>{repo|escape}: branches</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-branches" title="Atom feed for {repo|escape}: branches"> + href="{url|urlescape}atom-branches" title="Atom feed for {repo|escape}: branches"> <link rel="alternate" type="application/rss+xml" - href="{url}rss-branches" title="RSS feed for {repo|escape}: branches"> + href="{url|urlescape}rss-branches" title="RSS feed for {repo|escape}: branches"> </head> <body> <div class="buttons"> -<a href="{url}log{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}file/{node|short}/{sessionvars%urlparameter}">files</a> -<a href="{url}help{sessionvars%urlparameter}">help</a> -<a type="application/rss+xml" href="{url}rss-branches">rss</a> -<a type="application/atom+xml" href="{url}atom-branches">atom</a> +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}file/{node|short}/{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> +<a type="application/rss+xml" href="{url|urlescape}rss-branches">rss</a> +<a type="application/atom+xml" href="{url|urlescape}atom-branches">atom</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / branches</h2>
--- a/mercurial/templates/spartan/changelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/changelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,27 +1,27 @@ {header} <title>{repo|escape}: changelog</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"> </head> <body> <div class="buttons"> -<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> {archives%archiveentry} -<a href="{url}help{sessionvars%urlparameter}">help</a> -<a type="application/rss+xml" href="{url}rss-log">rss</a> -<a type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}">atom</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> +<a type="application/rss+xml" href="{url|urlescape}rss-log">rss</a> +<a type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}">atom</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / changelog</h2> -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p> <label for="search1">search:</label> @@ -32,7 +32,7 @@ {entries%changelogentry} -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p> <label for="search2">search:</label>
--- a/mercurial/templates/spartan/changelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/changelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -5,7 +5,7 @@ </tr> <tr> <th class="revision">changeset {rev}:</th> - <td class="node"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="node"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr> {parent%changelogparent} {child%changelogchild} @@ -19,7 +19,7 @@ <td class="date">{date|rfc822date}</td> </tr> <tr> - <th class="files"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>:</th> + <th class="files"><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>:</th> <td class="files">{files}</td> </tr> </table>
--- a/mercurial/templates/spartan/changeset.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/changeset.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -4,15 +4,15 @@ <body> <div class="buttons"> -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> -<a href="{url}raw-rev/{node|short}">raw</a> +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}raw-rev/{node|short}">raw</a> {archives%archiveentry} -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / changeset: {desc|strip|escape|firstline|nonempty}</h2> @@ -20,7 +20,7 @@ <table id="changesetEntry"> <tr> <th class="changeset">changeset {rev}:</th> - <td class="changeset"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="changeset"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr> {parent%changesetparent} {child%changesetchild}
--- a/mercurial/templates/spartan/fileannotate.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/fileannotate.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -4,17 +4,17 @@ <body> <div class="buttons"> -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> -<a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> -<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> -<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> -<a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a> -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> +<a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> +<a href="{url|urlescape}raw-annotate/{node|short}/{file|urlescape}">raw</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / annotate {file|escape}</h2> @@ -22,7 +22,7 @@ <table> <tr> <td class="metatag">changeset {rev}:</td> - <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> + <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> {parent%fileannotateparent} {child%fileannotatechild} <tr>
--- a/mercurial/templates/spartan/filediff.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/filediff.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -4,17 +4,17 @@ <body> <div class="buttons"> -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> -<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> -<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> -<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> -<a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a> -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> +<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> +<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> +<a href="{url|urlescape}raw-diff/{node|short}/{file|urlescape}">raw</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / {file|escape}</h2> @@ -22,7 +22,7 @@ <table id="filediffEntry"> <tr> <th class="revision">revision {rev}:</th> - <td class="revision"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="revision"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr> {parent%filediffparent} {child%filediffchild}
--- a/mercurial/templates/spartan/filelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/filelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,23 +1,23 @@ {header} <title>{repo|escape}: {file|escape} history</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}"> + href="{url|urlescape}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}"> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}"> + href="{url|urlescape}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}"> </head> <body> <div class="buttons"> -<a href="{url}log{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> -<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> -<a href="{url}help{sessionvars%urlparameter}">help</a> -<a type="application/rss+xml" href="{url}rss-log/tip/{file|urlescape}">rss</a> -<a type="application/atom+xml" href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">atom</a> +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> +<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> +<a type="application/rss+xml" href="{url|urlescape}rss-log/tip/{file|urlescape}">rss</a> +<a type="application/atom+xml" href="{url|urlescape}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">atom</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / {file|escape} revision history</h2>
--- a/mercurial/templates/spartan/filelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/filelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,14 +1,14 @@ <table class="logEntry parity{parity}"> <tr> <th><span class="age">{date|rfc822date}</span>:</th> - <th class="firstline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th> + <th class="firstline"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th> </tr> <tr> <th class="revision">revision {filerev}:</td> <td class="node"> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> - <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(diff)</a> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(annotate)</a> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> + <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(diff)</a> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(annotate)</a> </td> </tr> {rename%filelogrename}
--- a/mercurial/templates/spartan/filerevision.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/filerevision.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -4,17 +4,17 @@ <body> <div class="buttons"> -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> -<a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> -<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> -<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> -<a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a> -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> +<a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> +<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> +<a href="{url|urlescape}raw-file/{node|short}/{file|urlescape}">raw</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / {file|escape}</h2> @@ -22,7 +22,7 @@ <table> <tr> <td class="metatag">changeset {rev}:</td> - <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> + <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr> {parent%filerevparent} {child%filerevchild} <tr>
--- a/mercurial/templates/spartan/footer.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/footer.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -2,7 +2,7 @@ {motd} <div class="logo"> <a href="{logourl}"> -<img src="{staticurl}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a> +<img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a> </div> </body>
--- a/mercurial/templates/spartan/graph.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/graph.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,25 +1,25 @@ {header} <title>{repo|escape}: graph</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-tags" title="Atom feed for {repo|escape}: tags"> + href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}: tags"> <link rel="alternate" type="application/rss+xml" - href="{url}rss-tags" title="RSS feed for {repo|escape}: tags"> -<!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> + href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}: tags"> +<!--[if IE]><script type="text/javascript" src="{staticurl|urlescape}excanvas.js"></script><![endif]--> </head> <body> <div class="buttons"> -<a href="{url}log{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}file/{node|short}/{sessionvars%urlparameter}">files</a> -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}file/{node|short}/{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / graph</h2> -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p> <label for="search1">search:</label> @@ -54,7 +54,7 @@ var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size; var nstyle = 'padding-left: ' + left + 'px;'; var item = '<li style="' + nstyle + '"><span class="desc">'; - item += '<a href="{url}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '">' + cur[3] + '</a>'; + item += '<a href="{url|urlescape}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '">' + cur[3] + '</a>'; item += '</span><span class="info">' + cur[5] + ', by ' + cur[4] + '</span></li>'; return [bg, item]; @@ -66,7 +66,7 @@ // stop hiding script --> </script> -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p> <label for="search1">search:</label>
--- a/mercurial/templates/spartan/header.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/header.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> -<link rel="icon" href="{staticurl}hgicon.png" type="image/png"> +<link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png"> <meta name="robots" content="index, nofollow" /> -<link rel="stylesheet" href="{staticurl}style.css" type="text/css" /> -<script type="text/javascript" src="{staticurl}mercurial.js"></script> +<link rel="stylesheet" href="{staticurl|urlescape}style.css" type="text/css" /> +<script type="text/javascript" src="{staticurl|urlescape}mercurial.js"></script>
--- a/mercurial/templates/spartan/manifest.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/manifest.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -4,24 +4,24 @@ <body> <div class="buttons"> -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry} -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> -<h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / files for changeset <a href="{url}rev/{node|short}">{node|short}</a>: {path|escape}</h2> +<h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / files for changeset <a href="{url|urlescape}rev/{node|short}">{node|short}</a>: {path|escape}</h2> <table cellpadding="0" cellspacing="0"> <tr class="parity{upparity}"> <td><tt>drwxr-xr-x</tt> <td> <td> - <td><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a> + <td><a href="{url|urlescape}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a> </tr> {dentries%direntry} {fentries%fileentry}
--- a/mercurial/templates/spartan/map Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/map Fri Feb 01 20:43:35 2013 +0100 @@ -7,12 +7,12 @@ shortlog = shortlog.tmpl shortlogentry = shortlogentry.tmpl graph = graph.tmpl -naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' -filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' -filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' +naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' +filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' +filenodelink = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' filenolink = '{file|escape} ' fileellipses = '...' changelogentry = changelogentry.tmpl @@ -31,8 +31,8 @@ <td> <td> <td> - <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}/</a> - <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}/</a> + <a href="{url|urlescape}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}"> {emptydirs|urlescape} </a>' @@ -41,7 +41,7 @@ <td><tt>{permissions|permissions}</tt> <td align=right><tt class="date">{date|isodate}</tt> <td align=right><tt>{size}</tt> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>' + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>' filerevision = filerevision.tmpl fileannotate = fileannotate.tmpl @@ -56,7 +56,7 @@ annotateline = ' <tr class="parity{parity}"> <td class="annotate"> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> </td> <td> @@ -72,19 +72,19 @@ <tr> <th class="parent">parent {rev}:</th> <td class="parent"> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> </td> </tr>' changesetparent = ' <tr> <th class="parent">parent {rev}:</th> - <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filerevparent = ' <tr> <td class="metatag">parent:</td> <td> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {rename%filerename}{node|short} </a> </td> @@ -94,7 +94,7 @@ <tr> <th>base:</th> <td> - <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {file|escape}@{node|short} </a> </td> @@ -103,7 +103,7 @@ <tr> <td class="metatag">parent:</td> <td> - <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> {rename%filerename}{node|short} </a> </td> @@ -111,34 +111,34 @@ changesetchild = ' <tr> <th class="child">child {rev}:</th> - <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' changelogchild = ' <tr> <th class="child">child {rev}:</th> - <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filerevchild = ' <tr> <td class="metatag">child:</td> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' fileannotatechild = ' <tr> <td class="metatag">child:</td> - <td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' tags = tags.tmpl tagentry = ' <li class="tagEntry parity{parity}"> <tt class="node">{node}</tt> - <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a> + <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a> </li>' branches = branches.tmpl branchentry = ' <li class="tagEntry parity{parity}"> <tt class="node">{node}</tt> - <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">{branch|escape}</a> + <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">{branch|escape}</a> </li>' diffblock = '<pre class="parity{parity}">{lines}</pre>' changelogtag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>' @@ -146,39 +146,39 @@ filediffparent = ' <tr> <th class="parent">parent {rev}:</th> - <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filelogparent = ' <tr> <th>parent {rev}:</th> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filediffchild = ' <tr> <th class="child">child {rev}:</th> - <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> + <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' filelogchild = ' <tr> <th>child {rev}:</th> - <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> + <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> </tr>' indexentry = ' <tr class="parity{parity}"> - <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td> + <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td> <td>{description}</td> <td>{contact|obfuscate}</td> <td class="age">{lastchange|rfc822date}</td> <td class="indexlinks"> - <a href="{url}rss-log">RSS</a> - <a href="{url}atom-log">Atom</a> + <a href="{url|urlescape}rss-log">RSS</a> + <a href="{url|urlescape}atom-log">Atom</a> {archives%archiveentry} </td> </tr>' index = index.tmpl -archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> ' +archiveentry = '<a href="{url|urlescape}archive/{node|short}{extension|urlescape}">{type|escape}</a> ' notfound = notfound.tmpl error = error.tmpl urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' -breadcrumb = '> <a href="{url}">{name}</a> ' +breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> '
--- a/mercurial/templates/spartan/notfound.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/notfound.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -7,6 +7,6 @@ The specified repository "{repo|escape}" is unknown, sorry. -Please go back to the <a href="{url}">main repository list page</a>. +Please go back to the <a href="{url|urlescape}">main repository list page</a>. {footer}
--- a/mercurial/templates/spartan/search.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/search.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -4,14 +4,14 @@ <body> <div class="buttons"> -<a href="{url}log{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> {archives%archiveentry} -<a href="{url}help{sessionvars%urlparameter}">help</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> <h2>searching for {query|escape}</h2>
--- a/mercurial/templates/spartan/shortlog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/shortlog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,27 +1,27 @@ {header} <title>{repo|escape}: shortlog</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for {repo|escape}"> + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for {repo|escape}"> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"> </head> <body> <div class="buttons"> -<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}tags{sessionvars%urlparameter}">tags</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}file/{node|short}/{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}file/{node|short}/{sessionvars%urlparameter}">files</a> {archives%archiveentry} -<a href="{url}help{sessionvars%urlparameter}">help</a> -<a type="application/rss+xml" href="{url}rss-log">rss</a> -<a type="application/rss+xml" href="{url}atom-log" title="Atom feed for {repo|escape}">atom</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> +<a type="application/rss+xml" href="{url|urlescape}rss-log">rss</a> +<a type="application/rss+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}">atom</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / shortlog</h2> -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p> <label for="search1">search:</label> @@ -32,7 +32,7 @@ {entries%shortlogentry} -<form action="{url}log"> +<form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p> <label for="search2">search:</label>
--- a/mercurial/templates/spartan/shortlogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/shortlogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -2,6 +2,6 @@ <tr> <td class="age">{date|rfc822date}</td> <td class="author">{author|person}</td> - <td class="node"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td> + <td class="node"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td> </tr> </table>
--- a/mercurial/templates/spartan/tags.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/spartan/tags.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,21 +1,21 @@ {header} <title>{repo|escape}: tags</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-tags" title="Atom feed for {repo|escape}: tags"> + href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}: tags"> <link rel="alternate" type="application/rss+xml" - href="{url}rss-tags" title="RSS feed for {repo|escape}: tags"> + href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}: tags"> </head> <body> <div class="buttons"> -<a href="{url}log{sessionvars%urlparameter}">changelog</a> -<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="{url}graph{sessionvars%urlparameter}">graph</a> -<a href="{url}branches{sessionvars%urlparameter}">branches</a> -<a href="{url}file/{node|short}/{sessionvars%urlparameter}">files</a> -<a href="{url}help{sessionvars%urlparameter}">help</a> -<a type="application/rss+xml" href="{url}rss-tags">rss</a> -<a type="application/atom+xml" href="{url}atom-tags">atom</a> +<a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> +<a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> +<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> +<a href="{url|urlescape}file/{node|short}/{sessionvars%urlparameter}">files</a> +<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> +<a type="application/rss+xml" href="{url|urlescape}rss-tags">rss</a> +<a type="application/atom+xml" href="{url|urlescape}atom-tags">atom</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / tags</h2>