|
|
@ -737,16 +737,16 @@ make_content_buf(
|
|
|
|
tp = ngx_timeofday();
|
|
|
|
tp = ngx_timeofday();
|
|
|
|
|
|
|
|
|
|
|
|
/* "Parent dir" entry, always first if displayed */
|
|
|
|
/* "Parent dir" entry, always first if displayed */
|
|
|
|
if(r->uri.len > 1){
|
|
|
|
if (r->uri.len > 1) {
|
|
|
|
b->last = ngx_cpymem_ssz(b->last,
|
|
|
|
b->last = ngx_cpymem_ssz(b->last,
|
|
|
|
"<tr>"
|
|
|
|
"<tr>"
|
|
|
|
"<td><a href=\"../");
|
|
|
|
"<td><a href=\"../");
|
|
|
|
if (*sort_url_args) {
|
|
|
|
if (*sort_url_args) {
|
|
|
|
b->last = ngx_cpymem(b->last,
|
|
|
|
b->last = ngx_cpymem(b->last,
|
|
|
|
sort_url_args,
|
|
|
|
sort_url_args,
|
|
|
|
ngx_sizeof_ssz("?C=N&O=A"));
|
|
|
|
ngx_sizeof_ssz("?C=N&O=A"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
b->last = ngx_cpymem_ssz(b->last,
|
|
|
|
b->last = ngx_cpymem_ssz(b->last,
|
|
|
|
"\">Parent directory/</a></td>"
|
|
|
|
"\">Parent directory/</a></td>"
|
|
|
|
"<td>-</td>"
|
|
|
|
"<td>-</td>"
|
|
|
|
"<td>-</td>"
|
|
|
|
"<td>-</td>"
|
|
|
|