From 33c70f418f780f8e9524c73fbf4bbdbdbb9d7500 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Thu, 16 Sep 2021 23:40:31 +0300 Subject: 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 --- "modules/caddyhttp/fileserver/testdata/\331\205\331\204\331\201.txt" | 1 + 1 file changed, 1 insertion(+) create mode 100644 "modules/caddyhttp/fileserver/testdata/\331\205\331\204\331\201.txt" (limited to 'modules/caddyhttp/fileserver/testdata/ملف.txt') diff --git "a/modules/caddyhttp/fileserver/testdata/\331\205\331\204\331\201.txt" "b/modules/caddyhttp/fileserver/testdata/\331\205\331\204\331\201.txt" new file mode 100644 index 0000000..9185828 --- /dev/null +++ "b/modules/caddyhttp/fileserver/testdata/\331\205\331\204\331\201.txt" @@ -0,0 +1 @@ +ملف.txt \ No newline at end of file -- cgit v1.2.3