php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69470 adding method for changing the restriction level
Submitted: 2015-04-16 14:46 UTC Modified: 2018-05-15 15:45 UTC
From: masakielastic at gmail dot com Assigned: ab (profile)
Status: Closed Package: intl (PECL)
PHP Version: master-Git-2015-04-16 (Git) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 22 = ?
Subscribe to this entry?

 
 [2015-04-16 14:46 UTC] masakielastic at gmail dot com
Description:
------------
SpoofChecker should have a method for changing the restriction level. The restriction levels were introduced in ICU 51. Some of scripts need MODERATELY_RESTRICTIVE than HIGHLY_RESTRICTIVE for checking IDN. The difference between MODERATELY_RESTRICTIVE and HIGHLY_RESTRICTIVE is the following.

Common + Inherited + Latin + any single other "Recommended" or "Aspirational" script except Cyrillic or Greek

https://wiki.mozilla.org/IDN_Display_Algorithm


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-05-15 15:45 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2018-05-15 15:45 UTC] ab@php.net
Restriction levels are implemented in PHP 7.3 when linked with ICU 5.8 and above.

Thanks.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Nov 27 12:01:23 2020 UTC