Edward Z. Yang
b4ec8c8036
Merge remote-tracking branch 'ezyang/master'
2019-10-27 23:40:25 -04:00
Mateusz Turcza
06b3fc4cf4
Fix phpdoc params in HTMLModule::addElement() and Bool attr ( #233 )
2019-10-25 10:07:38 -04:00
Witold Wasiczko
c6ca293eab
Add support for PHP 7.4 ( #230 )
...
* Add php7.4
* 7.4 cannot fail
* Disallow failures
2019-09-11 20:25:44 -04:00
Mateusz Turcza
ab2887e423
Fix DOM Lexer for PHP versions older than 5.4 ( #225 )
2019-08-09 17:01:13 -04:00
Mateusz Turcza
029d1df5e3
Fix PHP 5.4 and 5.5 builds on Travis CI ( #227 )
2019-08-09 09:45:41 -04:00
Edi Modrić
b88fcd180c
Replace curly braces with square brackets in string offsets ( #224 )
2019-07-30 22:50:43 -04:00
Edward Z. Yang
83ab08bc1a
Release 4.11.0
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2019-07-14 14:58:38 -04:00
Edward Z. Yang
2739fa5462
Update changelog.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2019-07-14 14:22:14 -04:00
Sandro Miguel Marques
b91833877a
Method purifyArray() updated ( #143 )
...
* Methof purifyArray() updated
Now it works with multidimensional arrays
* Add test case.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2019-07-14 14:10:33 -04:00
Edward Z. Yang
abba77a80b
Recent PHPs default to display_error=0, override this in index.php
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2019-07-14 14:04:12 -04:00
Michael Kliewe
7cfc44654a
CSS: added "initial" and "inherit" to width + height ( #144 )
...
* CSS: added "initial" and "inherit" to width + height
CSS: added "initial" and "inherit" to min-width + min-height, removed "auto"
CSS: added "initial" and "inherit" and "none" to max-width + max-height, removed "auto"
* Fixed test: min-width:auto; should be false
2019-07-14 13:20:58 -04:00
msuzuki
8c153eef3a
Supported hundreds of nested HTML ( #202 )
...
* Supported hundreds of nested HTML (#201 )
* Add Core.AllowParseManyTags
2019-07-14 13:15:31 -04:00
DiLong Fa
524cd08a59
Update Config.php ( #211 )
...
Fixed Undefined index: class
2019-07-14 13:11:34 -04:00
Lukas Neumann
5a90c92d83
Adds PHP 7.3 to Travis ( #214 )
...
* Adds PHP 7.3 to Travis
* Fix tests for PHP 7.3
2019-07-14 13:10:24 -04:00
Darko Hrgovic
f03e1a2c48
Fixed reserved words in constants for PHP 7 as per https://www.php.net/manual/en/reserved.other-reserved-words.php ( #222 )
2019-07-10 22:24:27 -04:00
Edward Z. Yang
a93250f251
Don't use @ warning suppression.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 18:20:33 -05:00
Edward Z. Yang
5a8e48d672
Remove php extension from release1-update script, to appease #192
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 17:05:51 -05:00
Edward Z. Yang
cb5a742574
Replace flush.php with a shell script, to appease #192
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 17:04:11 -05:00
Edward Z. Yang
ff41146439
Delete defunct release2-tag.php script.
...
Thanks Adham Saad <asaad@edrnet.com> for reporting.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 16:59:24 -05:00
Edward Z. Yang
aa83689188
Delete references to PHP 5.1 in INSTALL.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 16:56:06 -05:00
Edward Z. Yang
3d15f5253b
Don't define __autoload; rely on spl_autoload_register
...
Fixes #196
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 16:55:01 -05:00
Edward Z. Yang
21e32042e9
Update schema for case-sensitive safe scripting
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 16:54:33 -05:00
Edward Z. Yang
ce0ccc4bff
Delete unneeded update-config.php script
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 16:54:33 -05:00
Chris Pelzer
ab7bbefe8a
Update reference to the valid types to refer to HTMLPurifier_VarParser::types ( #189 )
2018-11-11 16:23:01 -05:00
Edward Z. Yang
0f7b138aaf
Make SafeScripting case-sensitive.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 16:21:58 -05:00
Edward Z. Yang
4b6b3b31e8
Typofix: AutoForamt -> AutoFormat
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-11-11 16:21:58 -05:00
Dimitri Gritsajuk
5a01e6535d
[SafeScripting] disable autoclosing of <script /> tag ( #198 )
2018-11-11 15:04:11 -05:00
Benjamin Brahmer
b74425bee5
.htaccess support apache 2.4+ ( #190 )
2018-11-11 14:55:13 -05:00
Oleg Kainov
39068e6d08
Update PHP version in INSTALL ( #195 )
...
* update PHP version in INSTALL
Fix #194
* update PHP version in INSTALL
Fix #194
2018-10-23 20:03:41 -04:00
Daijobou
b81690c17e
More colors names ( #176 )
...
Added more colors names https://www.w3schools.com/colors/colors_names.asp
remove old unorded colors names
2018-06-09 22:48:13 -04:00
Mathias Brodala
4005ffd563
Suggest stable Composer installation ( #179 )
...
Normally people should not use the latest master but the latest stable release instead.
2018-06-09 22:44:20 -04:00
Mateusz Turcza
89b3fe431e
Use IDNA constants only if defined ( #171 )
...
Fixes #168 .
Solution based on https://git.ispconfig.org/ispconfig/ispconfig3/commit/0e3cf6f51b4fd .
2018-03-04 19:16:11 -05:00
Mateusz Turcza
3cb77da11d
Make tagName and node data detection hhvm compatible ( #170 )
2018-03-04 13:22:03 -05:00
Edward Z. Yang
c1167edbf1
dummy commit
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-02-22 21:36:54 -05:00
Edward Z. Yang
c7b5148c4f
New changelog entry.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-02-22 21:34:16 -05:00
Edward Z. Yang
f8c830de12
Fix SPDX identifier
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-02-22 21:26:02 -05:00
Edward Z. Yang
0737a6e916
Whoops, forgot to edit WHATSNEW
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-02-22 21:07:33 -05:00
Edward Z. Yang
d85d39da45
Release 4.10.0
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-02-22 20:58:20 -05:00
Edward Z. Yang
f33d1f8e99
Changelog prep for release. ( #167 )
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2018-02-22 20:55:01 -05:00
John Flatness
6d6d88512a
Skip counting currentNesting if null
...
This is an error starting in PHP 7.2
2017-12-30 00:23:44 -05:00
John Flatness
bb7ad66526
Quarantine __autoload defs for PHP 7.2 compat
2017-12-30 00:23:05 -05:00
Edward Z. Yang
64baeda65c
Deal with old libxml incompatibilities.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2017-12-22 22:03:02 -05:00
Jan Dageförde
67c3798922
Add relative length units from CSS 3
...
cf. https://www.w3schools.com/cssref/css_units.asp
2017-12-22 21:59:47 -05:00
Brad Mostert
df64746caa
Fix spelling
2017-12-22 21:59:19 -05:00
Roberto
ab9c9f30fd
Small typos in comments
2017-12-13 11:16:39 -05:00
Edward Z. Yang
5988f29583
Remove PHP 5.3 support.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2017-10-08 19:52:05 -04:00
Marina Glancy
ce0ede24de
Use IDNA2008 for converting domains to ASCII
2017-10-03 11:19:50 -04:00
Edward Z. Yang
17f80cd74b
Merge pull request #141 from pawelkania/master
...
Fix E_WARNING when cache directory exists
2017-06-23 22:50:48 -04:00
pawelkania
e11f7c9802
Fix E_WARNING when cache directory exists
...
Sometimes Serializer from another thread already creaded dir - this commit resolves this issue.
2017-06-20 09:53:14 +02:00
Edward Z. Yang
d21213e0d3
Merge pull request #139 from Edgars-Burtnieks/patch-1
...
Unnecessary space which gives error removed
2017-06-10 15:57:51 -04:00