httpd icon indicating copy to clipboard operation
httpd copied to clipboard

Broken page formatting in file index

Open ligurio opened this issue 9 years ago • 1 comments

Formatting of HTML page with file index become broken when a length of filename is more than 51 symbol.

Screenshot: https://yadi.sk/i/dd29ZVEWsXjZE

ligurio avatar Jun 16 '16 09:06 ligurio

As a possible solution we can cut filename in dp->d_name when it's length is more than 51 symbols. https://github.com/reyk/httpd/blob/master/httpd/server_file.c#L510 If you have no objections I'll make a patch.

ligurio avatar Jun 16 '16 09:06 ligurio