[ 
https://issues.apache.org/jira/browse/WW-5083?focusedWorklogId=458550&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-458550
 ]

ASF GitHub Bot logged work on WW-5083:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Jul/20 10:16
            Start Date: 14/Jul/20 10:16
    Worklog Time Spent: 10m 
      Work Description: salcho commented on a change in pull request #426:
URL: https://github.com/apache/struts/pull/426#discussion_r454252239



##########
File path: 
core/src/main/java/org/apache/struts2/interceptor/DefaultResourceIsolationPolicy.java
##########
@@ -0,0 +1,49 @@
+package org.apache.struts2.interceptor;
+
+import org.apache.logging.log4j.util.Strings;
+
+import javax.servlet.http.HttpServletRequest;
+
+/**
+ *
+ * Default resource isolation policy used in {@link FetchMetadataInterceptor} 
that
+ * implements the {@link ResourceIsolationPolicy} interface. This default 
policy is based on
+ * <a 
href="https://web.dev/fetch-metadata/";>https://web.dev/fetch-metadata/</a>.
+ *
+ * @see <a 
href="https://web.dev/fetch-metadata/";>https://web.dev/fetch-metadata/</a>
+ *
+ * @author Santiago Diaz - [email protected]
+ * @author Giannis Chatziveroglou - [email protected]

Review comment:
       haha that's fair! :)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 458550)
    Time Spent: 40m  (was: 0.5h)

> Fetch Metadata support
> ----------------------
>
>                 Key: WW-5083
>                 URL: https://issues.apache.org/jira/browse/WW-5083
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Core Interceptors
>            Reporter: Santiago Diaz
>            Priority: Major
>             Fix For: 2.6
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> We'd like to add built-in Fetch Metadata support to Struts2 to provide a 
> simple security mechanism that developers can use to protect against 
> Cross-Site Request Forgery vulnerabilities



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to