Rewrite: Use only fragment, remove frag.

This commit is contained in:
Abiola Ibrahim
2015-09-20 18:13:53 +01:00
parent 0e039a1868
commit 7f9fa5730b
2 changed files with 1 additions and 2 deletions

View File

@ -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", ""},
}