-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1458 from skenow/1.5.x_PHP8_HTMLPurifier
Update to HTMLPurifier for PHP8 compliance
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...ries/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/Core.AllowParseManyTags.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Core.AllowParseManyTags | ||
TYPE: bool | ||
DEFAULT: false | ||
VERSION: 4.10.1 | ||
--DESCRIPTION-- | ||
<p> | ||
This directive allows parsing of many nested tags. | ||
If you set true, relaxes any hardcoded limit from the parser. | ||
However, in that case it may cause a Dos attack. | ||
Be careful when enabling it. | ||
</p> | ||
--# vim: et sw=4 sts=4 |
11 changes: 11 additions & 0 deletions
11
htdocs/libraries/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/HTML.Forms.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
HTML.Forms | ||
TYPE: bool | ||
VERSION: 4.13.0 | ||
DEFAULT: false | ||
--DESCRIPTION-- | ||
<p> | ||
Whether or not to permit form elements in the user input, regardless of | ||
%HTML.Trusted value. Please be very careful when using this functionality, as | ||
enabling forms in untrusted documents may allow for phishing attacks. | ||
</p> | ||
--# vim: et sw=4 sts=4 |