blob: 6bffe7de180b5b894cac5921a47eec91a2f30afd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
There are a lot of XSS, a security hole typically found in web
applications, caused by incorrect (or lack of) JavaScript
escaping. This module is aimed to provide a secure JavaScript
escaping to avoid XSS with JavaScript values.
The escaping routine JavaScript::Value::Escape provides escapes q!"!,
q!'!, q!&!, q!=!, q!-!, q!+!, q!;!, q!<!, q!>!, q!/!, q!\! and control
characters to JavaScript unicode entities like "\u0026".
WWW: https://metacpan.org/release/JavaScript-Value-Escape
|