Skip to content

Releases: Vereyon/HtmlRuleSanitizer

Version 1.8.0

28 Oct 14:04
Compare
Choose a tag to compare

This release adds support for custom element sanitizers, implements attribute quote normalization and enables nullable references types to reduce the changes of NullReferenceExceptions.

What's Changed

  • Annotate nullable by @leotsarev in #33
  • Add element sanitizers by @aaubry in #34
  • Enforce single quotes instead of double quotes for attributes #15

New Contributors

Full Changelog: v1.7.1...v1.8.0

Version 1.7.1

06 Aug 15:20
Compare
Choose a tag to compare

This release makes deriving from the UrlCheckerAttributeSanitizer class easier. No functional changes are included.

What's Changed

  • Reallow to customize UrlCheckerAttributeSanitizer (fixes #31) by @leotsarev in #32

Full Changelog: v1.7.0...v1.7.1

Version 1.7.0

08 Apr 06:37
Compare
Choose a tag to compare

This release adds some features and removes support for some old and out of support target frameworks. Functional changes are limited to removing comments by default.

All changes included are:

  • Remove comments by default.
  • Add events before nodes are processed and after nodes are processed to ease customization by @dahall in #30
  • Make allowed URI schemes more easily configurable.
  • Update required HtmlAgilityPack to 1.7.1
  • Remove support for .NET Framework 4.0, 4.5, and .NET Standard 1.3

Full Changelog: v1.6.0...v1.7.0

Version 1.6.0

29 Aug 12:49
Compare
Choose a tag to compare
  • Make attribute sanitazation extensible

Version 1.5.0

26 Dec 10:05
Compare
Choose a tag to compare
  • Fixed white listing mode not working as expected
  • Updated minimum version of HtmlAgilityPack to 1.6.0

Version 1.2.1

15 Jan 17:02
Compare
Choose a tag to compare
  • Added mailto: uri scheme to default allowed uri schemes.

Version 1.2.0

15 Aug 08:07
Compare
Choose a tag to compare

Added IHtmlSanitizer interface to aid in testability of solutions using the sanitizer.
Implemented cascading removal of empty HTML elements.
Implemented HTML entity encoding.
Added more unit tests.

Version 1.1.4

13 May 09:59
Compare
Choose a tag to compare

Fixed incorrect handling of unclosed tags.
Added url validation for src attributes.

Version 1.1.3

18 Jan 12:00
Compare
Choose a tag to compare
Merge branch 'master' of https://github.com/Vereyon/HtmlRuleSanitizer

Conflicts:
	README.md