Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
d948344c
J
jenkins
项目概览
xxadev
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d948344c
编写于
11月 10, 2014
作者:
K
Kohsuke Kawaguchi
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
9edf0e3f
4f54c8af
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
16 addition
and
6 deletion
+16
-6
changelog.html
changelog.html
+11
-5
core/src/main/java/hudson/model/DirectoryBrowserSupport.java
core/src/main/java/hudson/model/DirectoryBrowserSupport.java
+5
-1
未找到文件。
changelog.html
浏览文件 @
d948344c
...
...
@@ -70,14 +70,20 @@ Upcoming changes</a>
Some plugins broken since 1.584 if they expected certain events to be fired under a specific user ID.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-25400"
>
issue 25400
</a>
)
<li
class=
bug
>
Fixed various real or potential resource leaks
.
Fixed various real or potential resource leaks
discovered by
<a
href=
"https://scan.coverity.com/projects/94/"
>
Coverity Scan
</code>
(
<a
href=
"https://github.com/jenkinsci/jenkins/pull/1434"
>
pull request 1434
</a>
)
<li
class=
fr
e
>
Expose AbstractProject.AbstractProjectDescriptor#validateLabelExpression
for plugins.
<li
class=
rf
e
>
API changes: Expose
<code>
AbstractProject.AbstractProjectDescriptor#validateLabelExpression
</code>
for plugins.
(
<a
href=
"https://github.com/jenkinsci/jenkins/pull/1456"
>
pull request 1456
</a>
)
<li
class=
fr
e
>
Aggregate multiple FormValidations into one.
<li
class=
rf
e
>
A
PI method to a
ggregate multiple FormValidations into one.
(
<a
href=
"https://github.com/jenkinsci/jenkins/pull/1458"
>
pull request 1458
</a>
)
<li
class=
bug
>
Always use forward slashes in path separators during in ZIP archives generated by Directory Browser
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-22514"
>
issue 22514
</a>
)
<li
class=
rfe
>
API method to get non-null
<code>
Jenkins
</code>
instance with internal validation
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-23339"
>
issue 23339
</a>
)
</ul>
</div>
<!--=END=-->
<h3><a
name=
v1.589
>
What's new in 1.589
</a>
(2014/11/09)
</h3>
...
...
core/src/main/java/hudson/model/DirectoryBrowserSupport.java
浏览文件 @
d948344c
...
...
@@ -354,7 +354,11 @@ public final class DirectoryBrowserSupport implements HttpResponse {
}
else
{
relativePath
=
n
;
}
ZipEntry
e
=
new
ZipEntry
(
relativePath
);
// In ZIP archives "All slashes MUST be forward slashes" (http://pkware.com/documents/casestudies/APPNOTE.TXT)
// TODO On Linux file names can contain backslashes which should not treated as file separators.
// Unfortunately, only the file separator char of the master is known (File.separatorChar)
// but not the file separator char of the (maybe remote) "dir".
ZipEntry
e
=
new
ZipEntry
(
relativePath
.
replace
(
'\\'
,
'/'
));
VirtualFile
f
=
dir
.
child
(
n
);
e
.
setTime
(
f
.
lastModified
());
zos
.
putNextEntry
(
e
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录