Menu

htmLawed / News: Recent posts

New version 1.2.15 of htmLawed released on 4 August 2023

New version 1.2.15 of htmLawed released on 4 August 2023:

  • Proper checking of attribute formaction for security

  • Transformation for deprecated attribute bgcolor for tbody, tfoot, and thead

  • Support for URL schemes ws and wss

Posted by Alpha2zee 2023-08-05

New version 1.2.14 of htmLawed released on 25 May 2023

New version 1.2.14 of htmLawed released on 25 May 2023 fixes an issue that prevented use of the srcset attribute in source and link elements.

Posted by Alpha2zee 2023-05-25

New version 1.2.13 of htmLawed released on 1 May 2023

New version 1.2.13 of htmLawed released on 1 May 2023 to fix issues with nesting for 'details' /'ruby' attributes, handling of self-closing tags, parsing of $config 'schemes', and handling of multiple values in 'sizes' attribute.

Posted by Alpha2zee 2023-04-30

New version 1.2.12 of htmLawed with minor fix released

New version 1.2.12 of htmLawed released on 25 Apr 2023: Fixes issue that prevented use of attribute 'sizes' in 'img' and 'source' elements.

Posted by Alpha2zee 2023-04-25

New version 1.2.11 of htmLawed released on 23 Jan. 2023

New version 1.2.11 of htmLawed released on 23 Jan. 2023: Fixes an XSS vulnerability arising from a lack of inspection for the alphabetical HTML entity for colon character in URLs

Posted by Alpha2zee 2023-01-23

htmLawed 1.2.10 released

New version 1.2.10 of htmLawed released on 5 Nov. 2022: class methods can now be specified as $config hook and hook_tag functions; corrects a PHP notice if $config["schemes"] mistakenly lacks colons.

Posted by Alpha2zee 2022-11-06

htmLawed 1.2.9 released

htmLawed 1.2.9 released on 2 July 2022. Improves parsing of $config["deny_attribute"] to permit spaces flanking comma characters and allow references to sets of all ARIA, data- and event attributes; fixes parsing of $spec for data- attribute rules; now permits use of aria, data, and on* in $spec; now covers all named HTML entities of current standard specification (this increased htmLawed code size by ~40%); recognizes that closing tag may be omitted for caption, optgroup, rp, rt, and tbody as well; recognizes that archive and poster attribute values can have URLs, which can be multiple; recognizes onloadend as global attribute; renames some internal functions; improved standards-compliance for element nesting.

Posted by Alpha2zee 2022-07-03

htmLawed 1.2.8 released

htmLawed 1.2.8 released on 6 Jun. 2022 – Fixes incorrect formatting of HTML comments when $config["comment"] = 4; fixes misreading of entity-fied colon characters in style attribute values; $config["show_setting"] now includes htmLawed version; improved PHP 8.2 code compatibility, and readability.

Posted by Alpha2zee 2022-06-07

htmLawed 1.2.7 released

htmLawed 1.2.7 released on 10 Apr. 2022 – Support for elements dialog, picture, slot, and template; support for custom HTML elements; support for global attributes autocapitalize, autofocus, enterkeyhint, inputmode, is, and nonce; support for 17 additional ARIA and 11 additional on* event handler attributes; support for attributes with names not beginning with a-z; fix for a minor bug arising during deprecated height/weight attribute transformation

Posted by Alpha2zee 2022-04-11

htmLawed 1.2.6 released

htmLawed 1.2.6 released on 4 Sept. 2021 – Fixes a bug that arises when $config["deny_attribute"] has a data-* attribute with > 1 hyphen character

Posted by Alpha2zee 2021-09-05 Labels: update

htmLawed is compatible with PHP 8.0

The current version of htmLawed (1.2.5) is compatible with PHP 8.0. (PHP 8.0.0 tested with htmLawed version 1.2.5.).

Posted by Alpha2zee 2020-12-22

htmLawed 1.2.5 released

Fixes two bugs in font tag transformation

Posted by Alpha2zee 2019-09-25

htmLawed 1.2.4.2 released

htmLawed 1.2.4.2 released

Corrects a minor issue that made PHP issue a ntoice.

Posted by Alpha2zee 2019-05-16

htmLawed 1.2.4.1 released

Corrects a function re-declaration bug introduced in version 1.2.4

Posted by Alpha2zee 2017-09-12

htmLawed 1.2.4 released

Removes use of PHP create_function function and $php_errormsg reserved variable (deprecated in PHP 7.2)

Posted by Alpha2zee 2017-08-31

htmLawed 1.2.3 released

New option value of 4 for $config["comments"] to stop enforcing a space character before the --> comment-closing marker

Posted by Alpha2zee 2017-07-06

htmLawed 1.2.2 released

Fix for a bug in parsing $spec that got introduced in version 1.2; also, $spec is now parsed to accommodate specifications for an HTML element when they are specified in multiple rules

Posted by Alpha2zee 2017-05-25

htmLawed 1.2.1.1 released

htmLawed 1.2.1.1 released on 17 May 2017; fixes a security vulnerability

Posted by Alpha2zee 2017-05-15

htmLawed 1.2 with HTML5 support released

(First beta release on 26 May 2013). Added support for HTML version 5; ARIA, data-star and microdata attributes; app, data, javascript and tel URL schemes (thus, javascript: is not filtered in default mode). Removed support for code using Kses functions (see section 2.6). Changes in revisions to the beta releases are not noted here.

Posted by Alpha2zee 2017-02-12

htmLawed 1.1.22 released

Improved testing of attribute value rules specified in $spec.

Posted by Alpha2zee 2016-03-06

htmLawed 1.1.21 released

Improvement and security fix in transforming 'font' element.

Posted by Alpha2zee 2016-02-27

htmLawed 1.1.20 released

Fix for a potential security vulnerability arising from unescaped double-quote character in single-quoted attribute value of some deprecated elements when tag transformation is enabled; recognition for non-(HTML4) standard 'allowfullscreen' attribute of 'iframe.'

Posted by Alpha2zee 2015-06-10

htmLawed 1.1.19 released

Fix for a bug in cleaning of soft-hyphens in URL values, etc.

Posted by Alpha2zee 2015-01-19

htmLawed 1.1.18 released

Fix for a potential security vulnerability arising from specially encoded text with serial opening tags

Posted by Alpha2zee 2014-08-02

htmLawed 1.1.17 released

Removed use of PHP function preg_replace with e modifier for compatibility with PHP 5.5

Posted by Alpha2zee 2014-03-11