caddy/modules/caddyhttp/fileserver
Matt Holt 2f91b44587
v2: Make tests work on Windows (#2782)
* file_server: Make tests work on Windows

* caddyfile: Fix escaping when character is not escapable

We only escape certain characters depending on inside or outside of
quotes (mainly newlines and quotes). We don't want everyone to have to
escape Windows file paths like C:\\Windows\\... but we can't drop the
\ either if it's just C:\Windows\...
2019-10-15 16:05:53 -06:00
..
browse_test.go Part 1: Optimize using compiler's inliner (#2687) 2019-08-07 23:59:02 -06:00
browse.go Part 1: Optimize using compiler's inliner (#2687) 2019-08-07 23:59:02 -06:00
browselisting.go go.mod: Append /v2 to module name; update all import paths 2019-07-02 12:37:06 -06:00
browsetpl.go Add license 2019-06-30 16:07:58 -06:00
caddyfile.go caddyfile: Improve Dispenser.NextBlock() to support nesting 2019-09-10 19:21:52 -06:00
command.go file_server: Set default address to :2015 if --listen not specified 2019-10-04 17:30:51 -06:00
matcher.go caddyfile: Improve Dispenser.NextBlock() to support nesting 2019-09-10 19:21:52 -06:00
staticfiles_test.go v2: Make tests work on Windows (#2782) 2019-10-15 16:05:53 -06:00
staticfiles.go file_server: Enforce URL canonicalization (closes #2741) 2019-09-09 08:21:45 -06:00