Skip to content

Commit

Permalink
Different CSRF fix
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Sep 2, 2024
1 parent 497b651 commit d923825
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/hudson/model/View.java
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ public synchronized void doDoDelete(StaplerRequest2 req, StaplerResponse2 rsp) t
* null if fails.
* @since TODO
*/
@RequirePOST
public /* abstract */ Item doCreateItem(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException {
if (Util.isOverridden(View.class, getClass(), "doCreateItem", StaplerRequest.class, StaplerResponse.class)) {
try {
Expand Down

0 comments on commit d923825

Please sign in to comment.