mirror of
https://github.com/caddyserver/caddy.git
synced 2026-01-07 04:30:38 -05:00
NewTestController now sets the site root to '.' to accomodate Windows. This introduced a failure on Linux because we join "." and an absolute path in /tmp/ and end up looking for the temp file in the wrong place. This change puts the temp file under the current working directory, which should resolve the issue.