lang/p5-JavaScript-Value-Escape 0.07 DragonFly
Perl extension to avoid XSS with JavaScript value interpolation
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- lang, perl5
- Package size
- 7.6 KiB, 12.3 KiB installed
Description
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".
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | lang/p5-JavaScript-Value-Escape | 0.07 |
| FreeBSD | lang/p5-JavaScript-Value-Escape | 0.07 |
| NetBSD | www/p5-JavaScript-Value-Escape | 0.07nb11 |
Install
Binary package:
pkg install p5-JavaScript-Value-Escape
From DPorts:
cd /usr/dports/lang/p5-JavaScript-Value-Escape && make install clean