caddy/caddyhttp/browse
W-Mark Kubacki 398d9a6bb5
browse: when sorting by size, sort directory section by name
Previously directories have been merely pulled to the front, and then
sorted arbitrarily. That is, their order among themselves depended on
the filesystem implementations. Something opaque to the visitor.

This fixes said inconsistency, and implements the by-size-then-by-name
order I initially intended for this.
2017-03-29 16:40:29 +02:00
..
testdata browse: sort listing by dir first (#1527) 2017-03-24 22:54:16 -06:00
browse_test.go browse: sort listing by dir first (#1527) 2017-03-24 22:54:16 -06:00
browse.go browse: when sorting by size, sort directory section by name 2017-03-29 16:40:29 +02:00
setup_test.go Remove the eager check in the browse middleware (#1144) 2016-09-28 12:23:44 -06:00
setup.go browse: Sanitize file names and links in default template 2017-01-23 22:37:46 -07:00