Feature Proposal: Disable XSS Protection for JavaScript
Motivation
In recent browsers, XSS protection filter disables JavaScript right after the TWiki topic is saved, as it is considered as a risk of reflective XSS attack (where the same JS code is contained in both the HTTP request and response). However, it is inconvenient when a TWiki application with JavaScript is being developed.
References:
Description and Documentation
The XSS filter can be disabled by adding
X-XSS-Protection: 0 HTTP response header. A proposed implementation is to provide an option as
$TWiki::cfg{DisableXSSProtection} so that the TWiki administrators can choose to disable it.
Examples
Impact
Implementation
--
Contributors:
Mahiro Ando - 2013-03-05
Discussion