Skip to content

Releases: phlib/xss-sanitizer

2.1.0

08 Jun 06:20
09f6ebf

Choose a tag to compare

  • Add optional constructor params to specify extra tags or attributes to be removed. HT @EmanuelAugusto

See Change Log for full details.

2.0.2

01 Aug 06:36
d81a703

Choose a tag to compare

See Change Log for full details.

1.1.1

06 Sep 10:16

Choose a tag to compare

  • Fixed attribute cleaner error when filtered tag has empty content.

See Change Log for full details.

2.0.1

08 Jun 16:46
b377743

Choose a tag to compare

  • Fixed attribute cleaner error when filtered tag has empty content.

See Change Log for full details.

2.0.0

17 Sep 05:52

Choose a tag to compare

  • Drop PHP versions <= 7.3 as they are no longer actively supported by the PHP project.
  • Add type declarations.
  • Add support for PHP v8.

See Change Log for full details.

Sanitize Array of Strings

01 Nov 09:38

Choose a tag to compare

Adds a method for sanitizing an array of strings.

Some small changes to the README.

First release

18 Mar 11:35

Choose a tag to compare

Merge pull request #1 from phlib/reduce-regex-backtracking

Reduce regex backtracking