Skip to content

Commit bb49c67

Browse files
committed
Removed Microsoft X-XSS-Protection header, as it is not recommended on modern browsers anymore and is considered deprecated
1 parent 1a0fab0 commit bb49c67

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

config/packages/nelmio_security.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ nelmio_security:
2020
- 'digikey.com'
2121
- 'nexar.com'
2222

23-
# forces Microsoft's XSS-Protection with
24-
# its block mode
25-
xss_protection:
26-
enabled: true
27-
mode_block: true
28-
2923
# Send a full URL in the `Referer` header when performing a same-origin request,
3024
# only send the origin of the document to secure destination (HTTPS->HTTPS),
3125
# and send no header to a less secure destination (HTTPS->HTTP).

0 commit comments

Comments
 (0)