This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts.git

commit f69198c53a4726b517b88ff9ddcc703ed8b956c2
Merge: f648b288d 1dade4fa7
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sat Oct 17 09:23:53 2026 +0200

    Merge pull request #2038 from apache/feature/WW-3717-http-method-attribute
    
    WW-3717 feat(core): restrict an action to HTTP methods with an http-method 
attribute

 .../struts2/config/entities/ActionConfig.java      |  29 ++-
 .../struts2/config/impl/ActionConfigMatcher.java   |   1 +
 .../struts2/config/impl/DefaultConfiguration.java  |  10 +
 .../providers/XmlDocConfigurationProvider.java     |  21 +++
 .../httpmethod/HttpMethodInterceptor.java          |  77 +++++++-
 core/src/main/resources/struts-7.5.dtd             |   1 +
 .../XmlConfigurationProviderHttpMethodTest.java    |  88 +++++++++
 .../httpmethod/HttpMethodInterceptorTest.java      | 204 ++++++++++++++++++++-
 .../providers/struts-http-method-invalid.xml       |  29 +++
 .../config/providers/struts-http-method.xml        |  79 ++++++++
 10 files changed, 531 insertions(+), 8 deletions(-)

Reply via email to