Skip to content

Commit c165d2d

Browse files
committed
not anymore needed comment
Signed-off-by: Olivier Lamy <olamy@apache.org>
1 parent 800789f commit c165d2d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/src/test/java/hudson/model/DirectoryBrowserSupportTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ public void doubleDots2() throws Exception {
151151

152152
try (JenkinsRule.WebClient wc = j.createWebClient()) {
153153
// normal path provided by the UI succeeds
154-
wc.goTo("job/" + p.getName() + "/ws/abc/def.bin", "application/octet-stream");
155-
156-
// suspicious path is rejected with 400
157-
wc.setThrowExceptionOnFailingStatusCode(false);
158154
Page page = wc.goTo("job/" + p.getName() + "/ws/abc%5Cdef.bin", "application/octet-stream");
159155
assertEquals(200, page.getWebResponse().getStatusCode());
160156
}

0 commit comments

Comments
 (0)