caddy/middleware
Zac Bergquist e158cda057 Fix test failures on Windows.
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)
2015-10-13 19:49:53 -04:00
..
basicauth Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
browse Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
errors Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
extensions extensions: Initial tests 2015-07-10 12:05:06 -06:00
fastcgi Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
gzip Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
headers headers: Initial test for Headers 2015-05-09 21:47:02 +02:00
inner rename middleware's name from internal to inner 2015-06-10 15:48:41 +08:00
log Added LogRoller parser and entity. 2015-09-02 15:13:31 +02:00
markdown Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
mime New core middleware, MIME. 2015-09-30 18:37:10 +01:00
proxy Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
redirect Commenting on the need for additional redirect tests 2015-10-01 09:58:07 -07:00
rewrite Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
templates Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
websockets Fix lint warnings for middleware/websockets 2015-05-24 21:04:03 -04:00
commands.go Update error strings (start with lowercase letters) 2015-06-07 20:49:17 -04:00
context.go middleware: Added StripHTML to Context type 2015-09-17 16:23:30 -06:00
fileserver.go Moved fileServer and browse.IndexPages into middleware package 2015-09-19 20:35:48 -06:00
middleware_test.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
middleware.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
path.go Fix more lint warnings 2015-05-24 22:52:34 -04:00
recorder_test.go Fix formatting directives in tests 2015-09-04 08:34:58 -07:00
recorder.go let middleware.responseRecorder be a http.Hijacker 2015-06-12 11:42:28 +08:00
replacer_test.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
replacer.go Rewrite: Use only fragment, remove frag. 2015-09-20 18:13:53 +01:00
roller.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00