@@ -70,6 +70,11 @@ func TestMakeURL(t *testing.T) {
7070 {"cache" , "event" , "/!-_.*'()&@:,.$=+?; space" , "http://store.screwdriver.cd/v1/caches/events/499/%2F%21-_.%2A%27%28%29%26%40%3A%2C.%24%3D%2B%3F%3B+space" },
7171 {"artifact" , "event" , "artifact-1" , "http://store.screwdriver.cd/v1/builds/10038/ARTIFACTS/artifact-1" },
7272 {"artifact" , "build" , "test" , "http://store.screwdriver.cd/v1/builds/10038/ARTIFACTS/test" },
73+ {"artifact" , "" , "./test" , "http://store.screwdriver.cd/v1/builds/10038/ARTIFACTS/test" },
74+ {"artifact" , "" , "test/foo" , "http://store.screwdriver.cd/v1/builds/10038/ARTIFACTS/test%2Ffoo" },
75+ {"artifact" , "" , "test/foo./bar" , "http://store.screwdriver.cd/v1/builds/10038/ARTIFACTS/test%2Ffoo.%2Fbar" },
76+ {"artifact" , "" , "test/foo/あいうえお.txt" , "http://store.screwdriver.cd/v1/builds/10038/ARTIFACTS/test%2Ffoo%2F%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8A.txt" },
77+ {"artifact" , "" , "!-_.*'()&@:,.$=+?; space" , "http://store.screwdriver.cd/v1/builds/10038/ARTIFACTS/%21-_.%2A%27%28%29%26%40%3A%2C.%24%3D%2B%3F%3B+space" },
7378 {"log" , "build" , "testlog" , "http://store.screwdriver.cd/v1/builds/10038-testlog" },
7479 {"log" , "build" , "step-bookend" , "http://store.screwdriver.cd/v1/builds/10038-step-bookend" },
7580 {"log" , "pipeline" , "test-2" , "http://store.screwdriver.cd/v1/builds/10038-test-2" },
0 commit comments