]> granicus.if.org Git - php/commit
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
authorAnatol Belski <ab@php.net>
Fri, 20 Oct 2017 17:14:22 +0000 (19:14 +0200)
committerAnatol Belski <ab@php.net>
Fri, 20 Oct 2017 17:23:32 +0000 (19:23 +0200)
commitf95063647ccebfde5e8e39bc3349e63f19662395
tree69dd4611bdc69ca692025c9711931aacc60cc24b
parent2198d38cbc12beeaf00be688cf33a5a6697ea20c
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes

There are significant changes in the spoof checking reflecting
http://www.unicode.org/reports/tr39/tr39-15.html and relying on the
restriction levels. ICU 58+ removes WSC and MSC handling and otherwise
undergoes big changes in both code and data areas. Keep up with the
basic points for now, as we need to move forward and provide an
acceptable experience to PHP users linking to a newer ICU. The most
distros ATM don't provide ICU > 57.1, though. We'll need for sure to
keep up with the BC breach in ICU 58+ in possible further aspects.
ext/intl/spoofchecker/spoofchecker_class.h
ext/intl/spoofchecker/spoofchecker_create.c
ext/intl/tests/spoofchecker_006.phpt [new file with mode: 0644]