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
| System | Port | Version |
|---|---|---|
| FreeBSD | lang/p5-JavaScript-Value-Escape | 0.07 |
| NetBSD | www/p5-JavaScript-Value-Escape | 0.07nb11 |
| DragonFly | lang/p5-JavaScript-Value-Escape | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 |
| FreeBSD:14:quarterly | 0.07 | 0.07 | n/a | 0.07 | 0.07 |
| FreeBSD:15:latest | 0.07 | 0.07 | n/a | 0.07 | 0.07 |
| FreeBSD:15:quarterly | 0.07 | 0.07 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.07 | 0.07 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Required by 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
| File | Size | SHA256 |
|---|---|---|
| JavaScript-Value-Escape-0.07.tar.gz | 10789 | 9acbda3708ede11f6beae5f112f188c3a9023a4d26c8ecd89aa82bbb6931a3dc |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.