p5-JavaScript-Value-Escape
0.07Perl extension to avoid XSS with JavaScript value interpolation
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".
Origin: lang/p5-JavaScript-Value-Escape
Category: lang
Size: 11.4KiB
License: ART10, GPLv1+
Maintainer: perl@FreeBSD.org
Dependencies: 1 packages
Required by: 1 packages
$
pkg install p5-JavaScript-Value-EscapeDependencies (1)
Required By (1 packages)
More in lang
perl55.42.0_1
Practical Extraction and Report Languagepython3113.11.15
Interpreted object-oriented programming languageruby3.3.10,1
Object-oriented interpreted scripting languagephp848.4.16
PHP Scripting Language (8.4.X branch)gcc1414.2.0_4
GNU Compiler Collection 14php828.2.30
PHP Scripting Language (8.2.X branch)php838.3.29
PHP Scripting Language (8.3.X branch)php858.5.1
PHP Scripting Language (8.5.X branch)tcl868.6.17
Tool Command Languagep5-Try-Tiny0.32
Minimal try/catch with proper localization of $@