forked from ezyang/htmlpurifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optional support for IDNAs with PEAR Net_IDNA2
Signed-off-by: Edward Z. Yang <[email protected]>
- Loading branch information
Showing
9 changed files
with
75 additions
and
7 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -25,6 +25,9 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier | |
%HTML.SafeIframe and %URI.SafeIframeRegexp. Thanks Bradley M. Froehle | ||
<[email protected]> for submitting an initial version of the patch. | ||
! The Forms module now works properly for transitional doctypes. | ||
! Added support for internationalized domain names. You need the PEAR | ||
Net_IDNA2 module to be in your path; if it is installed, ensure the | ||
class can be loaded and then set %Core.EnableIDNA to true. | ||
- Color keywords are now case insensitive. Thanks Yzmir Ramirez | ||
<[email protected]> for reporting. | ||
- Explicitly initialize anonModule variable to null. | ||
|
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
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
Binary file not shown.
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,9 @@ | ||
Core.EnableIDNA | ||
TYPE: bool | ||
DEFAULT: false | ||
VERSION: 4.4.0 | ||
--DESCRIPTION-- | ||
Allows international domain names in URLs. This configuration option | ||
requires the PEAR Net_IDNA2 module to be installed. It operates by | ||
punycoding any internationalized host names for maximum portability. | ||
--# vim: et sw=4 sts=4 |
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
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
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