GitHub user duesenklipper opened a pull request:
https://github.com/apache/wicket/pull/263
WICKET-6526 check HTTP method for all form submissions
this moves the HTTP method check from onFormSubmitted to
onFormSubmitted(submitter) so that every form submission
performs this check, instead of only non-ajax requests.
also adds tests that verify this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/duesenklipper/wicket
wicket7/WICKET-6526-ajaxbutton-methodmismatch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/wicket/pull/263.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #263
----
commit f850e13b6767debf23fd0bc6208187daf0a5d481
Author: Carl-Eric Menzel <carl-eric.menzel@...>
Date: 2018-02-03T23:10:23Z
WICKET-6526 check HTTP method for all form submissions
this moves the HTTP method check from onFormSubmitted to
onFormSubmitted(submitter) so that every form submission
performs this check, instead of only non-ajax requests.
also adds tests that verify this.
----
---