BSD Ports

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

SystemPortVersion
DragonFlylang/p5-JavaScript-Value-Escape0.07
FreeBSDlang/p5-JavaScript-Value-Escape0.07
NetBSDwww/p5-JavaScript-Value-Escape0.07nb11

Install

Binary package:

pkg install p5-JavaScript-Value-Escape

From DPorts:

cd /usr/dports/lang/p5-JavaScript-Value-Escape && make install clean

Dependencies

Run dependencies 1