mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
[FIXED JENKINS-19752] write in the correct outputstream
This commit is contained in:
1 parent
1f5673d446
commit
11fe787c0a
1 file changed
+1
-1
@@ -345,7 +345,7 @@ public final class DirectoryBrowserSupport implements HttpResponse {
|
||||
VirtualFile f = dir.child(n);
|
||||
e.setTime(f.lastModified());
|
||||
zos.putNextEntry(e);
|
||||
Util.copyStream(f.open(), outputStream);
|
||||
Util.copyStream(f.open(), zos);
|
||||
zos.closeEntry();
|
||||
}
|
||||
zos.close();
|
||||
|
||||
Reference in new issue
Block a user