mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Added note for disabling XSS filter method
This commit is contained in:
@@ -16,7 +16,7 @@ $context = stream_context_create(array('http'=>
|
||||
));
|
||||
|
||||
// Set a policy of allowing scripts on the same domain
|
||||
//header("X-XSS-Protection: 0");
|
||||
// header("X-XSS-Protection: 0"); // Turn off XSS filter
|
||||
header("X-Content-Security-Policy: allow 'self'");
|
||||
|
||||
// Start a session if we haven't already
|
||||
|
||||
Reference in New Issue
Block a user