diff options
author | Abiola Ibrahim <[email protected]> | 2015-09-20 18:13:53 +0100 |
---|---|---|
committer | Abiola Ibrahim <[email protected]> | 2015-09-20 18:13:53 +0100 |
commit | 7f9fa5730b61064d26e723ff132a18ea79ce4f35 (patch) | |
tree | c81dfef7c1ae833b5786e2f339ce28051ecba689 /middleware/rewrite | |
parent | 0e039a18684634a01aa3886a77c0a910e9678120 (diff) | |
download | caddy-7f9fa5730b61064d26e723ff132a18ea79ce4f35.tar.gz caddy-7f9fa5730b61064d26e723ff132a18ea79ce4f35.zip |
Rewrite: Use only `fragment`, remove `frag`.
Diffstat (limited to 'middleware/rewrite')
-rw-r--r-- | middleware/rewrite/rewrite_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/rewrite/rewrite_test.go b/middleware/rewrite/rewrite_test.go index d9056b431..b4845f106 100644 --- a/middleware/rewrite/rewrite_test.go +++ b/middleware/rewrite/rewrite_test.go @@ -28,7 +28,7 @@ func TestRewrite(t *testing.T) { []string{"/ab/", "ab", "/ab?type=html&{query}", ".html|"}, []string{"/abc/", "ab", "/abc/{file}", ".html|"}, []string{"/abcd/", "ab", "/a/{dir}/{file}", ".html|"}, - []string{"/abcde/", "ab", "/a#{frag}", ".html|"}, + []string{"/abcde/", "ab", "/a#{fragment}", ".html|"}, []string{"/ab/", `.*\.jpg`, "/ajpg", ""}, } |