We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 800789f commit c165d2dCopy full SHA for c165d2d
test/src/test/java/hudson/model/DirectoryBrowserSupportTest.java
@@ -151,10 +151,6 @@ public void doubleDots2() throws Exception {
151
152
try (JenkinsRule.WebClient wc = j.createWebClient()) {
153
// 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);
158
Page page = wc.goTo("job/" + p.getName() + "/ws/abc%5Cdef.bin", "application/octet-stream");
159
assertEquals(200, page.getWebResponse().getStatusCode());
160
}
0 commit comments