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
* * * * source - when rule is 'allow-from' this is used to form the rest of the header, otherwise this field is ignored. If rule is 'allow-from' but source is unset, the rule will be automatically
1691
1691
* changed to 'sameorigin'.
1692
-
* * xss - boolean that controls the 'X-XSS-PROTECTION' header for Internet Explorer. Defaults to true which sets the header to equal '1; mode=block'.
1693
-
* Note: this setting can create a security vulnerability in versions of Internet Explorer below 8, as well as unpatched versions of IE8. See here and here for more information. If you actively
1694
-
* support old versions of IE, it may be wise to explicitly set this flag to false.
1692
+
* * xss - controls the 'X-XSS-Protection' header, where:
1693
+
* * * 'disable' - the header will be set to '0'. This is the default value.
1694
+
* * * 'enable' - the header will be set to '1; mode=block'.
1695
+
* * * false - the header will be omitted
1695
1696
* * noOpen - boolean controlling the 'X-Download-Options' header for Internet Explorer, preventing downloads from executing in your context. Defaults to true setting the header to 'noopen'.
1696
1697
* * noSniff - boolean controlling the 'X-Content-Type-Options' header. Defaults to true setting the header to its only and default option, 'nosniff'.
* boolean that controls the 'X-XSS-PROTECTION' header for Internet Explorer. Defaults to true which sets the header to equal '1; mode=block'.
1733
-
* Note: this setting can create a security vulnerability in versions of Internet Explorer below 8, as well as unpatched versions of IE8. See here and here for more information. If you actively
1734
-
* support old versions of IE, it may be wise to explicitly set this flag to false.
1733
+
* controls the 'X-XSS-Protection' header, where:
1734
+
* * 'disable' - the header will be set to '0'. This is the default value.
1735
+
* * 'enable' - the header will be set to '1; mode=block'.
1736
+
* * false - the header will be omitted
1735
1737
*/
1736
-
xss?: boolean|undefined;
1738
+
xss?: 'disable'|'enable'|false|undefined;
1737
1739
/**
1738
1740
* boolean controlling the 'X-Download-Options' header for Internet Explorer, preventing downloads from executing in your context. Defaults to true setting the header to 'noopen'.
0 commit comments