diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2019-10-15 16:05:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-15 16:05:53 -0600 |
commit | 2f91b44587fe487b6a05c1c7e56833247e4b8c79 (patch) | |
tree | bcee95d5d6e805b4ff0ff81df9916f8689f1c85e /modules/caddyhttp/rewrite/rewrite.go | |
parent | e3726588b416682db28ea9173bf2c36e4554ce05 (diff) |
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\...
Diffstat (limited to 'modules/caddyhttp/rewrite/rewrite.go')
0 files changed, 0 insertions, 0 deletions