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

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f9e5e2695 WICKET-7093: Adding "form-action" to the CSP Directives 
(#801)
6f9e5e2695 is described below

commit 6f9e5e2695f23bedb5b73754506ac8c6eb165186
Author: Mateusz Kaczmarczyk <sciz...@gmail.com>
AuthorDate: Fri Mar 8 10:13:17 2024 +0100

    WICKET-7093: Adding "form-action" to the CSP Directives (#801)
    
    * WICKET-7093: Adding form-action to the CSP Directives
    
    * WICKET-7093: Fix a typo in the enum name
    
    ---------
    
    Co-authored-by: Martin Grigorov <marti...@users.noreply.github.com>
    (cherry picked from commit 0ff2492122638aebb7ce3a7f67c444cd7f64f9a1)
---
 wicket-core/src/main/java/org/apache/wicket/csp/CSPDirective.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wicket-core/src/main/java/org/apache/wicket/csp/CSPDirective.java 
b/wicket-core/src/main/java/org/apache/wicket/csp/CSPDirective.java
index 233a37758d..235358a02f 100644
--- a/wicket-core/src/main/java/org/apache/wicket/csp/CSPDirective.java
+++ b/wicket-core/src/main/java/org/apache/wicket/csp/CSPDirective.java
@@ -51,6 +51,7 @@ public enum CSPDirective
         * {@code frame-src} directive when {@code child-src} is added.
         */
        FRAME_SRC("frame-src"),
+       FORM_ACTION("form-action"),
        SANDBOX("sandbox")
        {
                /**

Reply via email to