Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/p5-HTML-Defang: New port: HTML::Defang - Cleans HTML as well as C…
…SS of scripting This module accepts an input HTML and/or CSS string and removes any executable code including scripting, embedded objects, applets, etc., and neutralises any XSS attacks. A whitelist based approach is used which means only HTML known to be safe is allowed through. PR: 267880
- Loading branch information
Showing
5 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
PORTNAME= HTML-Defang | ||
PORTVERSION= 1.07 | ||
CATEGORIES= www perl5 | ||
MASTER_SITES= CPAN | ||
PKGNAMEPREFIX= p5- | ||
|
||
MAINTAINER= m.ne@gmx.net | ||
COMMENT= Cleans HTML of executable contents, and neutralises XSS attacks | ||
WWW= https://metacpan.org/dist/HTML-Defang | ||
|
||
LICENSE= ART10 GPLv1+ | ||
LICENSE_COMB= dual | ||
|
||
USES= perl5 | ||
USE_PERL5= configure | ||
|
||
NO_ARCH= yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1667040189 | ||
SHA256 (HTML-Defang-1.07.tar.gz) = 882dc4a9dcfae8799235f4bad0062ee55ddbe408be1a5e4a7574b262e3fe07ce | ||
SIZE (HTML-Defang-1.07.tar.gz) = 46222 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This module accepts an input HTML and/or CSS string and removes any | ||
executable code including scripting, embedded objects, applets, etc., | ||
and neutralises any XSS attacks. A whitelist based approach is used | ||
which means only HTML known to be safe is allowed through. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%%SITE_PERL%%/HTML/Defang.pm | ||
%%PERL5_MAN3%%/HTML::Defang.3.gz |