Port details |
- p5-HTML-StripScripts Strip scripting constructs out of HTML
- 1.06 www =2 1.06Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2008-05-09 17:26:26
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/HTML-StripScripts
- Description:
- This module strips scripting constructs out of HTML, leaving as
much non-scripting markup in place as possible. This allows web
applications to display HTML originating from an untrusted source
without introducing XSS (cross site scripting) vulnerabilities.
You will probably use HTML::StripScripts::Parser rather than using
this module directly.
The process is based on whitelists of tags, attributes and attribute
values. This approach is the most secure against disguised scripting
constructs hidden in malicious HTML documents. As well as removing
scripting constructs, this module ensures that there is a matching
end for each start tag, and that the tags are properly nested.
Previously, in order to customise the output, you needed to subclass
HTML::StripScripts and override methods. Now, most customisation
can be done through the Rules option provided to new(). (See
examples/declaration/ and examples/tags/ for cases where subclassing
is necessary.) The HTML document must be parsed into start tags,
end tags and text before it can be filtered by this module. Use
either HTML::StripScripts::Parser or HTML::StripScripts::Regex
instead if you want to input an unparsed HTML document.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-HTML-StripScripts>0:www/p5-HTML-StripScripts
- To install the port:
- cd /usr/ports/www/p5-HTML-StripScripts/ && make install clean
- To add the package, run one of these commands:
- pkg install www/p5-HTML-StripScripts
- pkg install p5-HTML-StripScripts
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-HTML-StripScripts
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1465302675
SHA256 (HTML-StripScripts-1.06.tar.gz) = 222bfb7ec1fdfa465e32da3dc4abed2edc7364bbe19e8e3c513c7d585b0109ad
SIZE (HTML-StripScripts-1.06.tar.gz) = 44745
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- www/p5-HTML-StripScripts-Parser
- for Run
-
- www/p5-HTML-StripScripts-Parser
Configuration Options:
- No options to configure
- Options name:
- www_p5-HTML-StripScripts
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.06 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.06 20 Jul 2022 14:23:26 |
Tobias C. Berner (tcberner) |
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org> (Only the first 15 lines of the commit message are shown above ) |
1.06 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.06 27 May 2018 20:15:20 |
sunpoet |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
1.06 15 Sep 2017 08:58:50 |
mat |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
1.06 10 Jun 2016 09:52:36 |
bofh |
www/p5-HTML-StripScripts: Update version 1.05=>1.06 |
1.05_1 24 Dec 2014 00:14:13 |
bofh |
Change my non-FreeBSD MAINTAINER mail to bofh@
Approved by: bapt |
1.05_1 26 Nov 2014 13:08:38 |
mat |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
1.05 06 Apr 2014 05:48:42 |
sunpoet |
- Add LICENSE
- Pass maintainership to submitter
PR: 188169
Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> |
1.05 07 Nov 2013 13:55:25 |
vanilla |
support STAGEDIR. |
1.05 20 Sep 2013 23:36:54 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
www) |
1.05 02 Aug 2013 18:21:06 |
az |
- Convert to new perl framework |
1.05 19 Mar 2011 12:38:54 |
miwi |
- Get Rid MD5 support |
1.05 06 Nov 2009 09:28:36 |
leeym |
- update to 1.05 |
1.04 10 Feb 2009 08:33:14 |
leeym |
- reset maintainership |
1.04 09 May 2008 17:25:59 |
leeym |
- add HTML-StripScripts 1.04
This module strips scripting constructs out of HTML, leaving as
much non-scripting markup in place as possible. This allows web
applications to display HTML originating from an untrusted source
without introducing XSS (cross site scripting) vulnerabilities.
You will probably use HTML::StripScripts::Parser rather than using
this module directly.
WWW: http://search.cpan.org/dist/HTML-StripScripts/
Submitted by: kftseng@iyard.org |