FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p5-HTML-StripScripts Strip scripting constructs out of HTML
1.05_1 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 09 May 2008 17:26:26
Also Listed In: perl5
License: ART10 GPLv1
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.

WWW: http://search.cpan.org/dist/HTML-StripScripts/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/www/p5-HTML-StripScripts/ && make install clean
To add the package: pkg install p5-HTML-StripScripts

PKGNAME: p5-HTML-StripScripts


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. perl5.20.2 : lang/perl5.20
Runtime dependencies:
  1. perl5.20.2 : lang/perl5.20

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/HTML/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/HTML/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/HTML/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/HTML/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/HTML/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/HTML/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/HTML/
  8. http://backpan.perl.org/modules/by-module/HTML/
  9. http://cpan.metacpan.org/modules/by-module/HTML/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/HTML/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/HTML/
  13. http://www.cpan.dk/modules/by-module/HTML/
  14. http://www.cpan.dk/modules/by-module/HTML/
  15. http://www.cpan.org/modules/by-module/HTML/

Number of commits found: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
24 Dec 2014 00:14:13
Original commit files touched by this commit  1.05_1
Revision:375378
bofh search for other commits by this committer
Change my non-FreeBSD MAINTAINER mail to bofh@

Approved by:	bapt
26 Nov 2014 13:08:38
Original commit files touched by this commit  1.05_1
Revision:373448
mat search for other commits by this committer
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 View all of this commit message)
06 Apr 2014 05:48:42
Original commit files touched by this commit  1.05
Revision:350318
sunpoet search for other commits by this committer
- Add LICENSE
- Pass maintainership to submitter

PR:		188169
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
07 Nov 2013 13:55:25
Original commit files touched by this commit  1.05
Revision:333099
vanilla search for other commits by this committer
support STAGEDIR.
20 Sep 2013 23:36:54
Original commit files touched by this commit  1.05
Revision:327776
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
www)
02 Aug 2013 18:21:06
Original commit files touched by this commit  1.05
Revision:324171  Sanity Test Failure
az search for other commits by this committer
- Convert to new perl framework
19 Mar 2011 12:38:54
Original commit files touched by this commit  1.05
miwi search for other commits by this committer
- Get Rid MD5 support
06 Nov 2009 09:28:36
Original commit files touched by this commit  1.05
leeym search for other commits by this committer
- update to 1.05
10 Feb 2009 08:33:14
Original commit files touched by this commit  1.04
leeym search for other commits by this committer
- reset maintainership
09 May 2008 17:25:59
Original commit files touched by this commit  1.04
leeym search for other commits by this committer
- 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

Number of commits found: 10

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
janssonMay 04
gitlabMay 03
libksbaMay 03
libressl*May 03
libressl-devel*May 03
linux-c6-openssl*May 03
openssl*May 03
php55May 03
php55-bcmathMay 03
php55-exifMay 03
php55-gdMay 03
php55-xmlMay 03
php56May 03
php56-bcmathMay 03
php56-exifMay 03

17 vulnerabilities affecting 71 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 25990
Broken 284
Deprecated 62
Ignore 551
Forbidden 0
Restricted 203
No CDROM 86
Vulnerable 57
Expired 25
Set to expire 50
Interactive 0
new 24 hours 0
new 48 hours0
new 7 days17
new fortnight39
new month115

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.