You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2024/03/08 09:13:22 UTC

(wicket) branch wicket-9.x updated: WICKET-7093: Adding "form-action" to the CSP Directives (#801)

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

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


The following commit(s) were added to refs/heads/wicket-9.x by this push:
     new 0ff2492122 WICKET-7093: Adding "form-action" to the CSP Directives (#801)
0ff2492122 is described below

commit 0ff2492122638aebb7ce3a7f67c444cd7f64f9a1
Author: Mateusz Kaczmarczyk <sc...@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 <ma...@users.noreply.github.com>
---
 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")
 	{
 		/**