The XSS auditor has been removed in all web browsers by now, making this header
useless.
}
}
}
-
- /**
- * @inheritDoc
- */
- public function show()
- {
- // work-around for a known Chrome bug that causes the XSS auditor
- // to incorrectly detect JavaScript inside a textarea
- @\header('X-XSS-Protection: 0');
-
- parent::show();
- }
}
'copy' => $this->copy,
]);
}
-
- /**
- * @inheritDoc
- */
- public function show()
- {
- // work-around for a known Chrome bug that causes the XSS auditor
- // to incorrectly detect JavaScript inside a textarea
- @\header('X-XSS-Protection: 0');
-
- parent::show();
- }
}
'userList' => $this->userList,
]);
}
-
- /**
- * @inheritDoc
- */
- public function show()
- {
- // work-around for a known Chrome bug that causes the XSS auditor
- // to incorrectly detect JavaScript inside a textarea
- @\header('X-XSS-Protection: 0');
-
- parent::show();
- }
}