Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
7ac1c48e
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,发现更多精彩内容 >>
提交
7ac1c48e
编写于
8月 02, 2018
作者:
D
Daniel Beck
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'security-stable-2.107' into security-stable-2.121
上级
307688a8
909781ca
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
115 addition
and
24 deletion
+115
-24
core/src/main/java/hudson/PluginManager.java
core/src/main/java/hudson/PluginManager.java
+17
-1
core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java
.../src/main/java/hudson/lifecycle/WindowsInstallerLink.java
+4
-3
core/src/main/java/hudson/logging/LogRecorderManager.java
core/src/main/java/hudson/logging/LogRecorderManager.java
+20
-1
core/src/main/java/hudson/model/AbstractItem.java
core/src/main/java/hudson/model/AbstractItem.java
+17
-1
core/src/main/java/hudson/model/Computer.java
core/src/main/java/hudson/model/Computer.java
+1
-0
core/src/main/java/hudson/model/UpdateCenter.java
core/src/main/java/hudson/model/UpdateCenter.java
+18
-11
core/src/main/java/hudson/model/User.java
core/src/main/java/hudson/model/User.java
+18
-1
core/src/main/java/hudson/model/View.java
core/src/main/java/hudson/model/View.java
+1
-1
core/src/main/java/hudson/model/ViewDescriptor.java
core/src/main/java/hudson/model/ViewDescriptor.java
+0
-1
core/src/main/java/hudson/search/Search.java
core/src/main/java/hudson/search/Search.java
+19
-2
core/src/main/java/jenkins/security/s2m/AdminWhitelistRule.java
...rc/main/java/jenkins/security/s2m/AdminWhitelistRule.java
+0
-2
未找到文件。
core/src/main/java/hudson/PluginManager.java
浏览文件 @
7ac1c48e
...
...
@@ -88,6 +88,7 @@ import org.kohsuke.stapler.HttpResponse;
import
org.kohsuke.stapler.HttpResponses
;
import
org.kohsuke.stapler.QueryParameter
;
import
org.kohsuke.stapler.StaplerOverridable
;
import
org.kohsuke.stapler.StaplerProxy
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.kohsuke.stapler.export.Exported
;
...
...
@@ -177,7 +178,7 @@ import org.kohsuke.accmod.restrictions.NoExternalUse;
* @author Kohsuke Kawaguchi
*/
@ExportedBean
public
abstract
class
PluginManager
extends
AbstractModelObject
implements
OnMaster
,
StaplerOverridable
{
public
abstract
class
PluginManager
extends
AbstractModelObject
implements
OnMaster
,
StaplerOverridable
,
StaplerProxy
{
/** Custom plugin manager system property or context param. */
public
static
final
String
CUSTOM_PLUGIN_MANAGER
=
PluginManager
.
class
.
getName
()
+
".className"
;
...
...
@@ -2077,4 +2078,19 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
}
}
@Override
@Restricted
(
NoExternalUse
.
class
)
public
Object
getTarget
()
{
if
(!
SKIP_PERMISSION_CHECK
)
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
}
return
this
;
}
/**
* Escape hatch for StaplerProxy-based access control
*/
@Restricted
(
NoExternalUse
.
class
)
public
static
/* Script Console modifiable */
boolean
SKIP_PERMISSION_CHECK
=
Boolean
.
getBoolean
(
PluginManager
.
class
.
getName
()
+
".skipPermissionCheck"
);
}
core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java
浏览文件 @
7ac1c48e
...
...
@@ -112,6 +112,8 @@ public class WindowsInstallerLink extends ManagementLink {
*/
@RequirePOST
public
void
doDoInstall
(
StaplerRequest
req
,
StaplerResponse
rsp
,
@QueryParameter
(
"dir"
)
String
_dir
)
throws
IOException
,
ServletException
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
if
(
installationDir
!=
null
)
{
// installation already complete
sendError
(
"Installation is already complete"
,
req
,
rsp
);
...
...
@@ -121,8 +123,6 @@ public class WindowsInstallerLink extends ManagementLink {
sendError
(
".NET Framework 2.0 or later is required for this feature"
,
req
,
rsp
);
return
;
}
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
File
dir
=
new
File
(
_dir
).
getAbsoluteFile
();
dir
.
mkdirs
();
...
...
@@ -174,6 +174,8 @@ public class WindowsInstallerLink extends ManagementLink {
@RequirePOST
public
void
doRestart
(
StaplerRequest
req
,
StaplerResponse
rsp
)
throws
IOException
,
ServletException
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
if
(
installationDir
==
null
)
{
// if the user reloads the page after Hudson has restarted,
// it comes back here. In such a case, don't let this restart Hudson.
...
...
@@ -181,7 +183,6 @@ public class WindowsInstallerLink extends ManagementLink {
rsp
.
sendRedirect
(
req
.
getContextPath
()+
"/"
);
return
;
}
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
rsp
.
forward
(
this
,
"_restart"
,
req
);
final
File
oldRoot
=
Jenkins
.
getInstance
().
getRootDir
();
...
...
core/src/main/java/hudson/logging/LogRecorderManager.java
浏览文件 @
7ac1c48e
...
...
@@ -25,6 +25,7 @@ package hudson.logging;
import
hudson.FeedAdapter
;
import
hudson.Functions
;
import
hudson.PluginManager
;
import
hudson.init.Initializer
;
import
static
hudson
.
init
.
InitMilestone
.
PLUGINS_PREPARED
;
import
hudson.model.AbstractModelObject
;
...
...
@@ -35,7 +36,10 @@ import jenkins.model.JenkinsLocationConfiguration;
import
jenkins.model.ModelObjectWithChildren
;
import
jenkins.model.ModelObjectWithContextMenu.ContextMenu
;
import
org.apache.commons.io.filefilter.WildcardFileFilter
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.QueryParameter
;
import
org.kohsuke.stapler.StaplerProxy
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.kohsuke.stapler.HttpResponse
;
...
...
@@ -61,7 +65,7 @@ import java.util.logging.Logger;
*
* @author Kohsuke Kawaguchi
*/
public
class
LogRecorderManager
extends
AbstractModelObject
implements
ModelObjectWithChildren
{
public
class
LogRecorderManager
extends
AbstractModelObject
implements
ModelObjectWithChildren
,
StaplerProxy
{
/**
* {@link LogRecorder}s keyed by their {@linkplain LogRecorder#name name}.
*/
...
...
@@ -198,4 +202,19 @@ public class LogRecorderManager extends AbstractModelObject implements ModelObje
public
static
void
init
(
Jenkins
h
)
throws
IOException
{
h
.
getLog
().
load
();
}
@Override
@Restricted
(
NoExternalUse
.
class
)
public
Object
getTarget
()
{
if
(!
SKIP_PERMISSION_CHECK
)
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
}
return
this
;
}
/**
* Escape hatch for StaplerProxy-based access control
*/
@Restricted
(
NoExternalUse
.
class
)
public
static
/* Script Console modifiable */
boolean
SKIP_PERMISSION_CHECK
=
Boolean
.
getBoolean
(
LogRecorderManager
.
class
.
getName
()
+
".skipPermissionCheck"
);
}
core/src/main/java/hudson/model/AbstractItem.java
浏览文件 @
7ac1c48e
...
...
@@ -58,6 +58,7 @@ import jenkins.util.xml.XMLUtils;
import
org.apache.tools.ant.taskdefs.Copy
;
import
org.apache.tools.ant.types.FileSet
;
import
org.kohsuke.stapler.StaplerProxy
;
import
org.kohsuke.stapler.WebMethod
;
import
org.kohsuke.stapler.export.Exported
;
import
org.kohsuke.stapler.export.ExportedBean
;
...
...
@@ -109,7 +110,7 @@ import org.kohsuke.stapler.Ancestor;
// Item doesn't necessarily have to be Actionable, but
// Java doesn't let multiple inheritance.
@ExportedBean
public
abstract
class
AbstractItem
extends
Actionable
implements
Item
,
HttpDeletable
,
AccessControlled
,
DescriptorByNameOwner
{
public
abstract
class
AbstractItem
extends
Actionable
implements
Item
,
HttpDeletable
,
AccessControlled
,
DescriptorByNameOwner
,
StaplerProxy
{
private
static
final
Logger
LOGGER
=
Logger
.
getLogger
(
AbstractItem
.
class
.
getName
());
...
...
@@ -933,6 +934,21 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
return
super
.
toString
()
+
'['
+
(
parent
!=
null
?
getFullName
()
:
"?/"
+
name
)
+
']'
;
}
@Override
@Restricted
(
NoExternalUse
.
class
)
public
Object
getTarget
()
{
if
(!
SKIP_PERMISSION_CHECK
)
{
getACL
().
checkPermission
(
Item
.
READ
);
}
return
this
;
}
/**
* Escape hatch for StaplerProxy-based access control
*/
@Restricted
(
NoExternalUse
.
class
)
public
static
/* Script Console modifiable */
boolean
SKIP_PERMISSION_CHECK
=
Boolean
.
getBoolean
(
AbstractItem
.
class
.
getName
()
+
".skipPermissionCheck"
);
/**
* Used for CLI binding.
*/
...
...
core/src/main/java/hudson/model/Computer.java
浏览文件 @
7ac1c48e
...
...
@@ -325,6 +325,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
* Used to URL-bind {@link AnnotatedLargeText}.
*/
public
AnnotatedLargeText
<
Computer
>
getLogText
()
{
checkPermission
(
CONNECT
);
return
new
AnnotatedLargeText
<
Computer
>(
getLogFile
(),
Charset
.
defaultCharset
(),
false
,
this
);
}
...
...
core/src/main/java/hudson/model/UpdateCenter.java
浏览文件 @
7ac1c48e
...
...
@@ -70,6 +70,7 @@ import org.jenkinsci.Symbol;
import
org.jvnet.localizer.Localizable
;
import
org.kohsuke.accmod.restrictions.DoNotUse
;
import
org.kohsuke.stapler.HttpResponse
;
import
org.kohsuke.stapler.StaplerProxy
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
...
...
@@ -146,7 +147,7 @@ import org.kohsuke.stapler.interceptor.RequirePOST;
* @since 1.220
*/
@ExportedBean
public
class
UpdateCenter
extends
AbstractModelObject
implements
Saveable
,
OnMaster
{
public
class
UpdateCenter
extends
AbstractModelObject
implements
Saveable
,
OnMaster
,
StaplerProxy
{
private
static
final
String
UPDATE_CENTER_URL
=
SystemProperties
.
getString
(
UpdateCenter
.
class
.
getName
()+
".updateCenterUrl"
,
"https://updates.jenkins.io/"
);
...
...
@@ -292,7 +293,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
}
public
Api
getApi
()
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
return
new
Api
(
this
);
}
...
...
@@ -364,7 +364,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
*/
@Restricted
(
DoNotUse
.
class
)
public
HttpResponse
doConnectionStatus
(
StaplerRequest
request
)
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
try
{
String
siteId
=
request
.
getParameter
(
"siteId"
);
if
(
siteId
==
null
)
{
...
...
@@ -417,7 +416,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
*/
@Restricted
(
DoNotUse
.
class
)
// WebOnly
public
HttpResponse
doIncompleteInstallStatus
()
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
try
{
Map
<
String
,
String
>
jobs
=
InstallUtil
.
getPersistedInstallStatus
();
if
(
jobs
==
null
)
{
...
...
@@ -467,7 +465,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
*/
@Restricted
(
DoNotUse
.
class
)
public
HttpResponse
doInstallStatus
(
StaplerRequest
request
)
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
try
{
String
correlationId
=
request
.
getParameter
(
"correlationId"
);
Map
<
String
,
Object
>
response
=
new
HashMap
<>();
...
...
@@ -620,7 +617,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
*/
@RequirePOST
public
void
doUpgrade
(
StaplerResponse
rsp
)
throws
IOException
,
ServletException
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
HudsonUpgradeJob
job
=
new
HudsonUpgradeJob
(
getCoreSource
(),
Jenkins
.
getAuthentication
());
if
(!
Lifecycle
.
get
().
canRewriteHudsonWar
())
{
sendError
(
"Jenkins upgrade not supported in this running mode"
);
...
...
@@ -639,7 +635,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
*/
@RequirePOST
public
HttpResponse
doInvalidateData
()
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
for
(
UpdateSite
site
:
sites
)
{
site
.
doInvalidateData
();
}
...
...
@@ -655,7 +650,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
public
void
doSafeRestart
(
StaplerRequest
request
,
StaplerResponse
response
)
throws
IOException
,
ServletException
{
synchronized
(
jobs
)
{
if
(!
isRestartScheduled
())
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
addJob
(
new
RestartJenkinsJob
(
getCoreSource
()));
LOGGER
.
info
(
"Scheduling Jenkins reboot"
);
}
...
...
@@ -726,7 +720,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
*/
@RequirePOST
public
void
doDowngrade
(
StaplerResponse
rsp
)
throws
IOException
,
ServletException
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
if
(!
isDowngradable
())
{
sendError
(
"Jenkins downgrade is not possible, probably backup does not exist"
);
return
;
...
...
@@ -743,7 +736,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
*/
@RequirePOST
public
void
doRestart
(
StaplerResponse
rsp
)
throws
IOException
,
ServletException
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
HudsonDowngradeJob
job
=
new
HudsonDowngradeJob
(
getCoreSource
(),
Jenkins
.
getAuthentication
());
LOGGER
.
info
(
"Scheduling the core downgrade"
);
...
...
@@ -982,7 +974,6 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
return
results
;
}
/**
* {@link AdministrativeMonitor} that checks if there's Jenkins update.
*/
...
...
@@ -2198,6 +2189,22 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
}
}
@Override
@Restricted
(
NoExternalUse
.
class
)
public
Object
getTarget
()
{
if
(!
SKIP_PERMISSION_CHECK
)
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
}
return
this
;
}
/**
* Escape hatch for StaplerProxy-based access control
*/
@Restricted
(
NoExternalUse
.
class
)
public
static
/* Script Console modifiable */
boolean
SKIP_PERMISSION_CHECK
=
Boolean
.
getBoolean
(
UpdateCenter
.
class
.
getName
()
+
".skipPermissionCheck"
);
/**
* Sequence number generator.
*/
...
...
core/src/main/java/hudson/model/User.java
浏览文件 @
7ac1c48e
...
...
@@ -97,6 +97,7 @@ import org.apache.commons.lang.StringUtils;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.StaplerProxy
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.kohsuke.stapler.export.Exported
;
...
...
@@ -129,7 +130,7 @@ import org.springframework.dao.DataAccessException;
* @author Kohsuke Kawaguchi
*/
@ExportedBean
public
class
User
extends
AbstractModelObject
implements
AccessControlled
,
DescriptorByNameOwner
,
Saveable
,
Comparable
<
User
>,
ModelObjectWithContextMenu
{
public
class
User
extends
AbstractModelObject
implements
AccessControlled
,
DescriptorByNameOwner
,
Saveable
,
Comparable
<
User
>,
ModelObjectWithContextMenu
,
StaplerProxy
{
/**
* The username of the 'unknown' user used to avoid null user references.
...
...
@@ -1099,6 +1100,22 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
public
ContextMenu
doContextMenu
(
StaplerRequest
request
,
StaplerResponse
response
)
throws
Exception
{
return
new
ContextMenu
().
from
(
this
,
request
,
response
);
}
@Override
@Restricted
(
NoExternalUse
.
class
)
public
Object
getTarget
()
{
if
(!
SKIP_PERMISSION_CHECK
)
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
READ
);
}
return
this
;
}
/**
* Escape hatch for StaplerProxy-based access control
*/
@Restricted
(
NoExternalUse
.
class
)
public
static
/* Script Console modifiable */
boolean
SKIP_PERMISSION_CHECK
=
Boolean
.
getBoolean
(
User
.
class
.
getName
()
+
".skipPermissionCheck"
);
/**
* Gets list of Illegal usernames, for which users should not be created.
...
...
core/src/main/java/hudson/model/View.java
浏览文件 @
7ac1c48e
...
...
@@ -1069,11 +1069,11 @@ public abstract class View extends AbstractModelObject implements AccessControll
*/
@Restricted
(
DoNotUse
.
class
)
public
Categories
doItemCategories
(
StaplerRequest
req
,
StaplerResponse
rsp
,
@QueryParameter
String
iconStyle
)
throws
IOException
,
ServletException
{
getOwner
().
checkPermission
(
Item
.
CREATE
);
rsp
.
addHeader
(
"Cache-Control"
,
"no-cache, no-store, must-revalidate"
);
rsp
.
addHeader
(
"Pragma"
,
"no-cache"
);
rsp
.
addHeader
(
"Expires"
,
"0"
);
getOwner
().
checkPermission
(
Item
.
CREATE
);
Categories
categories
=
new
Categories
();
int
order
=
0
;
JellyContext
ctx
;
...
...
core/src/main/java/hudson/model/ViewDescriptor.java
浏览文件 @
7ac1c48e
...
...
@@ -88,7 +88,6 @@ public abstract class ViewDescriptor extends Descriptor<View> {
*/
@Restricted
(
DoNotUse
.
class
)
public
AutoCompletionCandidates
doAutoCompleteCopyNewItemFrom
(
@QueryParameter
final
String
value
,
@AncestorInPath
ItemGroup
<?>
container
)
{
// TODO do we need a permissions check here?
AutoCompletionCandidates
candidates
=
AutoCompletionCandidates
.
ofJobNames
(
TopLevelItem
.
class
,
value
,
container
);
if
(
container
instanceof
DirectlyModifiableTopLevelItemGroup
)
{
DirectlyModifiableTopLevelItemGroup
modifiableContainer
=
(
DirectlyModifiableTopLevelItemGroup
)
container
;
...
...
core/src/main/java/hudson/search/Search.java
浏览文件 @
7ac1c48e
...
...
@@ -42,10 +42,12 @@ import java.util.logging.Logger;
import
javax.servlet.ServletException
;
import
jenkins.model.Jenkins
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.Ancestor
;
import
org.kohsuke.stapler.QueryParameter
;
import
org.kohsuke.stapler.StaplerProxy
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.kohsuke.stapler.export.DataWriter
;
...
...
@@ -63,7 +65,7 @@ import org.kohsuke.stapler.export.Flavor;
* @author Kohsuke Kawaguchi
* @see SearchableModelObject
*/
public
class
Search
{
public
class
Search
implements
StaplerProxy
{
@Restricted
(
NoExternalUse
.
class
)
// used from stapler views only
public
static
String
encodeQuery
(
String
query
)
throws
UnsupportedEncodingException
{
return
URLEncoder
.
encode
(
query
,
"UTF-8"
);
...
...
@@ -406,6 +408,21 @@ public class Search {
return
paths
[
tokens
.
length
()];
}
@Override
@Restricted
(
NoExternalUse
.
class
)
public
Object
getTarget
()
{
if
(!
SKIP_PERMISSION_CHECK
)
{
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
READ
);
}
return
this
;
}
/**
* Escape hatch for StaplerProxy-based access control
*/
@Restricted
(
NoExternalUse
.
class
)
public
static
/* Script Console modifiable */
boolean
SKIP_PERMISSION_CHECK
=
Boolean
.
getBoolean
(
Search
.
class
.
getName
()
+
".skipPermissionCheck"
);
private
final
static
Logger
LOGGER
=
Logger
.
getLogger
(
Search
.
class
.
getName
());
}
core/src/main/java/jenkins/security/s2m/AdminWhitelistRule.java
浏览文件 @
7ac1c48e
...
...
@@ -155,8 +155,6 @@ public class AdminWhitelistRule implements StaplerProxy {
@RequirePOST
public
HttpResponse
doSubmit
(
StaplerRequest
req
)
throws
IOException
{
jenkins
.
checkPermission
(
Jenkins
.
RUN_SCRIPTS
);
String
whitelist
=
Util
.
fixNull
(
req
.
getParameter
(
"whitelist"
));
if
(!
whitelist
.
endsWith
(
"\n"
))
whitelist
+=
"\n"
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录