[FIXED JENKINS-11397] Require POST for doConfigSubmit on views

This commit is contained in:
OHTAKE Tomohiro committed 2011-10-20 08:56:19 +09:00
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);