BSD Ports

lang/p5-JavaScript-Value-Escape 0.07 FreeBSD

Perl extension to avoid XSS with JavaScript value interpolation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
lang, perl5
Package size
7.5 KiB, 11.4 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
FreeBSDlang/p5-JavaScript-Value-Escape0.07
NetBSDwww/p5-JavaScript-Value-Escape0.07nb11
DragonFlylang/p5-JavaScript-Value-Escape0.07

Install

Binary package:

pkg install p5-JavaScript-Value-Escape

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-JavaScript-Value-Escape>0:lang/p5-JavaScript-Value-Escape

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.070.070.070.070.07
FreeBSD:14:quarterly0.070.07n/a0.070.07
FreeBSD:15:latest0.070.07n/a0.070.07
FreeBSD:15:quarterly0.070.07n/an/an/a
FreeBSD:16:latest0.070.07n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/JavaScript/Value/Escape.pm
  • %%PERL5_MAN3%%/JavaScript::Value::Escape.3.gz
distinfo 1
FileSizeSHA256
JavaScript-Value-Escape-0.07.tar.gz107899acbda3708ede11f6beae5f112f188c3a9023a4d26c8ecd89aa82bbb6931a3dc
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.