You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ATTENTION! at the moment, only a safe set like "allow-scripts" are allowed for sandbox mode.
258
-
// "allow-same-origin" should never be used, it leads to XSS attack, and it makes the JS in iframe can access parent window's config and CSRF token
258
+
// "allow-same-origin" should NEVER be used, it leads to XSS attack: makes the JS in iframe can access parent window's config and send requests with user's credentials.
// optSignInFromAnyOrigin means that the user can (optionally) be signed in from any origin (no cross-origin protection)
296
+
// - With CORS middleware: CORS middleware does the preflight request handling, the requests has Sec-Fetch-Site header.
297
+
// The CORS mechanism already protects cross-origin requests, and the CrossOriginProtection has no "allowed origin" list, so disable CrossOriginProtection.
298
+
// - For non-browser client requests: git clone via http, no Sec-Fetch-Site header.
299
+
// Such requests are not cross-origin requests, so disable CrossOriginProtection.
0 commit comments