mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-26 10:13:39 +08:00
e158cda057
Most of the Windows test failures are due to the path separator not being "/". The general approach I took here was to keep paths in "URL form" (ie using "/" separators) as much as possible, and only convert to native paths when we attempt to open a file. This will allow the most consistency between different host OS. For example, data structures that store paths still store them with "/" delimiters. Functions that accepted paths as input and return them as outputs still use "/". There are still a few test failures that need to be sorted out. - config/setup/TestRoot (I hear this has already been fixed by someone else) - middleware/basicauth/TestBrowseTemplate and middleware/templates/Test (a line endings issue that I'm still working through) |
||
---|---|---|
.. | ||
basicauth | ||
browse | ||
errors | ||
extensions | ||
fastcgi | ||
gzip | ||
headers | ||
inner | ||
log | ||
markdown | ||
mime | ||
proxy | ||
redirect | ||
rewrite | ||
templates | ||
websockets | ||
commands.go | ||
context.go | ||
fileserver.go | ||
middleware_test.go | ||
middleware.go | ||
path.go | ||
recorder_test.go | ||
recorder.go | ||
replacer_test.go | ||
replacer.go | ||
roller.go |