Req #72379 [Com]: support tidy-html5 in addition to legacy htmltidy
| From: | michael at orlitzky dot com | Date: | Fri, 10 Jun 2016 14:57:43 +0000 |
| Subject: | Req #72379 [Com]: support tidy-html5 in addition to legacy htmltidy | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201532@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72379&edit=1
ID: 72379
Comment by: michael at orlitzky dot com
Reported by: michael at orlitzky dot com
Summary: support tidy-html5 in addition to legacy htmltidy
Status: Open
Type: Feature/Change Request
Package: *General Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I've created a pull request which adds this feature:
https://github.com/php/php-src/pull/1940
Previous Comments:
------------------------------------------------------------------------
[2016-06-10 14:50:05] michael at orlitzky dot com
Description:
------------
The "tidy" extension is currently based off the "HTML tidy" project, which has
gone extinct. For reference, see its SourceForge page,
http://tidy.sourceforge.net/
which points you towards its successor tidy-html5. The older project is now bit-rotting, and has
some vulnerabilities (CVE-2015-5522 and CVE-2015-5523) that won't be fixed.
The PHP build system should accept tidy-html5 (they're compatible) instead of the legacy
project.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72379&edit=1