Use ↓ entity references instead of character references
Entity references are encoding-independent, and will work despite of the encoding of the rest of the served document. Note that in general it may be a bad idea to use "fancyindex_header" to change the encoding of the served documents because file names will still be treated as UTF-8, which is the only sane default in Unix. Fixes #50.pull/62/head
parent
77d2c60c8e
commit
5b53c2b0b2
|
@ -57,9 +57,9 @@ static const u_char t06_list1[] = ""
|
||||||
"<table id=\"list\">"
|
"<table id=\"list\">"
|
||||||
"<thead>"
|
"<thead>"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<th style=\"width:55%\"><a href=\"?C=N&O=A\">File Name</a> <a href=\"?C=N&O=D\"> ↓ </a></th>"
|
"<th style=\"width:55%\"><a href=\"?C=N&O=A\">File Name</a> <a href=\"?C=N&O=D\"> ↓ </a></th>"
|
||||||
"<th style=\"width:20%\"><a href=\"?C=S&O=A\">File Size</a> <a href=\"?C=S&O=D\"> ↓ </a></th>"
|
"<th style=\"width:20%\"><a href=\"?C=S&O=A\">File Size</a> <a href=\"?C=S&O=D\"> ↓ </a></th>"
|
||||||
"<th style=\"width:25%\"><a href=\"?C=M&O=A\">Date</a> <a href=\"?C=M&O=D\"> ↓ </a></th>"
|
"<th style=\"width:25%\"><a href=\"?C=M&O=A\">Date</a> <a href=\"?C=M&O=D\"> ↓ </a></th>"
|
||||||
"</tr>"
|
"</tr>"
|
||||||
"</thead>"
|
"</thead>"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
|
@ -55,9 +55,9 @@
|
||||||
<table id="list">
|
<table id="list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:55%"><a href="?C=N&O=A">File Name</a> <a href="?C=N&O=D"> ↓ </a></th>
|
<th style="width:55%"><a href="?C=N&O=A">File Name</a> <a href="?C=N&O=D"> ↓ </a></th>
|
||||||
<th style="width:20%"><a href="?C=S&O=A">File Size</a> <a href="?C=S&O=D"> ↓ </a></th>
|
<th style="width:20%"><a href="?C=S&O=A">File Size</a> <a href="?C=S&O=D"> ↓ </a></th>
|
||||||
<th style="width:25%"><a href="?C=M&O=A">Date</a> <a href="?C=M&O=D"> ↓ </a></th>
|
<th style="width:25%"><a href="?C=M&O=A">Date</a> <a href="?C=M&O=D"> ↓ </a></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue