diff options
author | Mohammed Al Sahaf <msaa1990@gmail.com> | 2021-09-16 23:40:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 20:40:31 +0000 |
commit | 33c70f418f780f8e9524c73fbf4bbdbdbb9d7500 (patch) | |
tree | 7590c68508368624bf777e29850868f73cbbe35f /modules/caddyhttp/fileserver/testdata | |
parent | 2ebfda1ae93d356a2d3df53bf3411248886bafaf (diff) |
fileserver: properly handle escaped/non-ascii paths (#4332)
* fileserver: properly handle escaped/non-ascii paths
* fileserver: tests: accommodate Windows hate of colons in files names
Diffstat (limited to 'modules/caddyhttp/fileserver/testdata')
-rw-r--r-- | modules/caddyhttp/fileserver/testdata/%D9%85%D9%84%D9%81.txt | 1 | ||||
-rw-r--r-- | modules/caddyhttp/fileserver/testdata/ملف.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/caddyhttp/fileserver/testdata/%D9%85%D9%84%D9%81.txt b/modules/caddyhttp/fileserver/testdata/%D9%85%D9%84%D9%81.txt new file mode 100644 index 0000000..0f4bf1a --- /dev/null +++ b/modules/caddyhttp/fileserver/testdata/%D9%85%D9%84%D9%81.txt @@ -0,0 +1 @@ +%D9%85%D9%84%D9%81.txt
\ No newline at end of file diff --git a/modules/caddyhttp/fileserver/testdata/ملف.txt b/modules/caddyhttp/fileserver/testdata/ملف.txt new file mode 100644 index 0000000..9185828 --- /dev/null +++ b/modules/caddyhttp/fileserver/testdata/ملف.txt @@ -0,0 +1 @@ +ملف.txt
\ No newline at end of file |