diff --git a/ngx_http_fancyindex_module.c b/ngx_http_fancyindex_module.c index ab319ef..399b848 100644 --- a/ngx_http_fancyindex_module.c +++ b/ngx_http_fancyindex_module.c @@ -741,6 +741,8 @@ make_content_buf( len += ngx_sizeof_ssz("") + entry[i].name.len + entry[i].utf_len + alcf->name_length + ngx_sizeof_ssz(">") @@ -890,6 +892,9 @@ make_content_buf( } } + *b->last++ = '"'; + b->last = ngx_cpymem_ssz(b->last, " title=\""); + b->last = ngx_cpymem_str(b->last, entry[i].name); *b->last++ = '"'; *b->last++ = '>';