ff005f6edc
feat: PHP 8.4 support ( #441 )
2025-03-19 13:25:28 -04:00
cb56001e54
chore(release): 4.18.0 [skip ci]
...
# [4.18.0](https://github.com/ezyang/htmlpurifier/compare/v4.17.0...v4.18.0 ) (2024-11-01)
### Bug Fixes
* Adjust Core.AllowHostnameUnderscore to consider that "_" is defined as Unreserved Characters in RFC 3986 ([#406 ](https://github.com/ezyang/htmlpurifier/issues/406 )) ([d9fbef8
](d9fbef8e27
))
* Avoid a deprecated error when the attribute name is numeric and DirectLex is used ([#412 ](https://github.com/ezyang/htmlpurifier/issues/412 )) ([f0fbf51
](f0fbf51098
))
* checking that node has property name ([#399 ](https://github.com/ezyang/htmlpurifier/issues/399 )) ([9ca5a36
](9ca5a3687b
))
* Ignore conditional comments ([#401 ](https://github.com/ezyang/htmlpurifier/issues/401 )) ([4828fdf
](4828fdf45a
))
* Support PHP 8.4 ([#396 ](https://github.com/ezyang/htmlpurifier/issues/396 )) ([92da247
](92da2473ff
))
* undefined array key warning ([#419 ](https://github.com/ezyang/htmlpurifier/issues/419 )) ([01be377
](01be377f93
))
### Features
* Add allowfullscreen attr for iframe ([#411 ](https://github.com/ezyang/htmlpurifier/issues/411 )) ([70754a2
](70754a2533
))
* add directive for removing blank nodes ([#404 ](https://github.com/ezyang/htmlpurifier/issues/404 )) ([c9d60c9
](c9d60c96d7
))
* Add support for CSS aspect-ratio ([#408 ](https://github.com/ezyang/htmlpurifier/issues/408 )) ([93bee73
](93bee73349
))
* Allow universal CSS values for all properties ([#410 ](https://github.com/ezyang/htmlpurifier/issues/410 )) ([9723267
](972326785d
))
2024-11-01 03:51:45 +00:00
bbc513d79a
chore(release): 4.17.0 [skip ci]
...
# [4.17.0](https://github.com/ezyang/htmlpurifier/compare/v4.16.0...v4.17.0 ) (2023-11-17)
### Bug Fixes
* CSSTidy ImportantComments not handled properly ([#359 ](https://github.com/ezyang/htmlpurifier/issues/359 )) ([78a9b4d
](78a9b4d0da
))
* fix CI ([#361 ](https://github.com/ezyang/htmlpurifier/issues/361 )) ([9ec687c
](9ec687c904
))
* Invalid scheme check in Attr.TargetBlank ([#363 ](https://github.com/ezyang/htmlpurifier/issues/363 )) ([0176ef4
](0176ef4bb6
))
* semantic release ([#339 ](https://github.com/ezyang/htmlpurifier/issues/339 )) ([d82f3d9
](d82f3d996a
))
* semantic release ([#341 ](https://github.com/ezyang/htmlpurifier/issues/341 )) ([e55fead
](e55fead09f
)), closes [#339 ](https://github.com/ezyang/htmlpurifier/issues/339 )
* Support for locales using decimal separators other than . (dot) ([#372 ](https://github.com/ezyang/htmlpurifier/issues/372 )) ([43f49ac
](43f49ac9a5
))
### Features
* Add support for all text-decoration properties ([#360 ](https://github.com/ezyang/htmlpurifier/issues/360 )) ([2d775c0
](2d775c0187
))
* Allows commas to be included in tel URI ([#389 ](https://github.com/ezyang/htmlpurifier/issues/389 )) ([ec92490
](ec92490139
)), closes [#388 ](https://github.com/ezyang/htmlpurifier/issues/388 )
### Reverts
* Revert "fix: semantic release (#339 )" (#340 ) ([3e83215
](3e832152a6
)), closes [#339 ](https://github.com/ezyang/htmlpurifier/issues/339 ) [#340 ](https://github.com/ezyang/htmlpurifier/issues/340 )
2023-11-17 15:01:25 +00:00
8d9f4c9ec1
Release 4.15.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2022-09-18 02:23:57 -04:00
12ab42bd6e
Release 4.14.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2021-12-24 20:21:49 -05:00
2512f595e0
Check PHP version before checking magic quotes ( #273 )
...
This function has been DEPRECATED as of PHP 7.4.0. Relying on this function is highly discouraged. It is basically useless as of PHP 5.4 because it will always return false, so for modern applications it can be safely removed. But as this library still supports PHP 5.2 — according to the constraints in composer.json — I added a version check to prevent this method from being called (and trigger a notice) on PHP >=7.4.
See: https://www.php.net/manual/en/function.get-magic-quotes-gpc.php
2020-09-30 20:19:10 -04:00
08e27c97e4
Release 4.13.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2020-06-28 20:56:53 -04:00
fe0452d688
Correct typehinting of maybeGet* ( #240 )
...
getDefinition can return null, this wasn't properly hinted leaning to false error detections with static analyzers
2019-12-04 10:29:08 -05:00
a617e55bc6
Release 4.12.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2019-10-27 23:44:26 -04:00
83ab08bc1a
Release 4.11.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2019-07-14 14:58:38 -04:00
524cd08a59
Update Config.php ( #211 )
...
Fixed Undefined index: class
2019-07-14 13:11:34 -04:00
d85d39da45
Release 4.10.0
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu >
2018-02-22 20:58:20 -05:00
95e1bae318
Release 4.9.3
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu >
2017-06-02 22:28:16 -04:00
1df505296f
Mod: using stdClass instead of stdclass
2017-06-02 09:55:46 +08:00
6d50e5282a
Release 4.9.2
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu >
2017-03-12 23:30:53 -07:00
de82f9845f
Release 4.9.1 (sic)
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu >
2017-03-08 00:22:36 -08:00
d0c392f77d
Release 4.8.0
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu >
2016-07-16 05:58:58 -07:00
ae1828d955
Release 4.7.0.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu >
2015-08-04 18:03:42 -07:00
2c963dcc7f
Missing @return
...
Adding PHPDoc @return statement for code completion in IDE
2015-08-03 10:21:47 +02:00
6f389f0f25
Release 4.6.0.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu >
2013-11-30 00:25:19 -08:00
fac747bdbd
PSR-2 reformatting PHPDoc corrections
...
With minor corrections.
Signed-off-by: Marcus Bointon <marcus@synchromedia.co.uk >
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2013-08-17 22:27:26 -04:00
107b3055a1
Fix var name conflict in loadArray
2013-07-16 21:56:29 -07:00
29a3c70370
A bunch of PHPdoc and php codesniffer corrections - no functional code changes
2013-07-16 21:53:17 -07:00
3c903b7463
Doc fix.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2013-05-18 08:48:47 -07:00
d516e2f8de
Release 4.5.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2013-02-17 16:04:08 -08:00
62d2550e16
Use SHA-1 instead of MD5.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2012-10-27 02:33:22 -07:00
83a574491e
Comment for bug that needs to get fixed.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2012-10-11 11:40:02 -07:00
17af0e4fc1
Release 4.4.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2012-01-18 19:22:31 -05:00
9f5f85952b
Don't unset parser variable; plays poorly with serialize.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2011-12-18 13:27:51 -05:00
f1439f0af5
Release 4.3.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2011-03-27 23:02:49 +01:00
f3d050c517
Fix two bugs with caching of customized raw definitions.
...
The first bug is that we will repeatedly write out the result
of a customized raw definition to the filesystem, even when a cache
entry already exists.
The second bug is that caching these definitions doesn't actually
work (the cache entry is written but never used.) A new API
for retrieving raw definitions permits the user to take advantage
of caching.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2010-12-30 23:51:53 +00:00
882ffed9ba
Release 4.2.0.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2010-09-15 02:52:57 -04:00
18e538317a
Release 4.1.1.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2010-05-31 20:17:31 -07:00
f4c6e10ff7
Release 4.1.0.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2010-04-26 18:31:40 -04:00
53ff3e2744
Release 4.0.0.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu >
2009-07-07 22:41:01 -04:00
6e66dc9cad
Add HTMLPurifier_config->serialize()
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-05-30 00:25:14 -04:00
5bf7ac4e9f
Add docs and facilities for having separate directories of schemas.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-05-29 22:16:35 -04:00
a025203b18
Minor updates to Config and TODO items thereof.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-05-29 18:03:57 -04:00
10e2d32a79
Lock configuration objects to a single namespace, to help prevent bugs.
...
* Also, fix a slight bug with URI definition clearing.
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-05-25 23:38:49 -04:00
eaa906f8fc
Implement configuration inheritance.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-02-21 03:01:02 -05:00
86ca784da3
Convert all to new configuration get/set format.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-02-21 03:00:34 -05:00
b107eec452
Revamp configuration backend.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-02-21 03:00:33 -05:00
e9f529e78f
Release 3.3.0.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-02-16 17:18:31 -05:00
b9094d5ec8
Convert HTMLPurifier_Config to use property list backend.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2009-02-02 18:42:23 -05:00
12b811d749
Add vim modelines to all files.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2008-12-06 04:24:59 -05:00
2c955af135
Remove trailing whitespace.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2008-12-06 02:28:20 -05:00
280211f70b
Release 3.2.0.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com >
2008-10-31 16:30:54 -04:00
7015aaff46
Release 3.1.1
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1808 48356398-32a2-884e-a903-53898d9a118a
2008-06-19 21:43:57 +00:00
3c4346cb1e
Fix back-compat regressions. Also, compactify configuration code.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1771 48356398-32a2-884e-a903-53898d9a118a
2008-05-26 04:35:12 +00:00
917d2ea5ef
[3.1.1] More ConfigSchema optimizations: degenerate form can accommodate type and allow_null
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1766 48356398-32a2-884e-a903-53898d9a118a
2008-05-23 17:10:26 +00:00