Prepend all links with ./.

This commit is contained in:
Chris Ross 2015-01-14 14:40:31 -08:00
parent 212c264ed3
commit 5c189d87ad
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ namespace Microsoft.AspNet.StaticFiles
{
builder.AppendFormat(@"
<tr class=""directory"">
<td class=""name""><a href=""{0}/"">{0}/</a></td>
<td class=""name""><a href=""./{0}/"">{0}/</a></td>
<td></td>
<td class=""modified"">{1}</td>
</tr>",
@ -131,7 +131,7 @@ namespace Microsoft.AspNet.StaticFiles
{
builder.AppendFormat(@"
<tr class=""file"">
<td class=""name""><a href=""{0}"">{0}</a></td>
<td class=""name""><a href=""./{0}"">{0}</a></td>
<td class=""length"">{1}</td>
<td class=""modified"">{2}</td>
</tr>",