mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
[FIXED HUDSON-1750] The doConfigSubmit method already does the security check, and this is checking the wrong permission, too. In 1.220.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9718 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
e08793d1cf
commit
a438aed630
1 file changed
-3
@@ -143,9 +143,6 @@ public abstract class Project<P extends Project<P,B>,B extends Build<P,B>>
|
||||
protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException {
|
||||
super.submit(req,rsp);
|
||||
|
||||
if(!Hudson.adminCheck(req,rsp))
|
||||
return;
|
||||
|
||||
req.setCharacterEncoding("UTF-8");
|
||||
|
||||
buildWrappers = buildDescribable(req, BuildWrappers.getFor(this), "wrapper");
|
||||
|
||||
Reference in new issue
Block a user