mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 22:42:48 +00:00
[FIXED JENKINS-11397] Require POST for doConfigSubmit on views
This commit is contained in:
1 parent
c2057762bd
commit
a2a8721cfa
2 files changed
+4
-1
No files matched your search
@@ -698,6 +698,7 @@ public abstract class View extends AbstractModelObject implements AccessControll
|
||||
*/
|
||||
public final synchronized void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException {
|
||||
checkPermission(CONFIGURE);
|
||||
requirePOST();
|
||||
|
||||
submit(req);
|
||||
|
||||
|
||||
Reference in new issue
Block a user