URLHelpers should use unorm2_quickCheck before converting to NFC
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Mar 2019 15:18:42 +0000 (15:18 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Mar 2019 15:18:42 +0000 (15:18 +0000)
commit261d1c52d0bc264655bcb924efa880a4af0aab58
tree4b8ff658671a9e1d50072d2e7466ccd7c8ea7348
parent07fbc28b427adaccb98a9475e153f1c12c833d0a
URLHelpers should use unorm2_quickCheck before converting to NFC
https://bugs.webkit.org/show_bug.cgi?id=194272

Reviewed by Darin Adler.

If the string is already in normalization form C, don't try to normalize it.

* wtf/URLHelpers.cpp:
(WTF::URLHelpers::toNormalizationFormC):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/URLHelpers.cpp