Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Dec 21, 2019

Fixes element-hq/element-web#11701

Signed-off-by: Michael Telatynski 7t3chguy@gmail.com

unhomoglyph converts funky unicode characters to their non-confusable counterparts as per http://www.unicode.org/Public/security/latest/confusables.txt

the issue was we converted the output of it to lower case but its input was mixed case, which causes fun cases like
e.g m -> rn, (r, n) but M -> M which means we should lowerCase its input, but we must also lowerCase its output because of mappings like 𝐊 -> K (which would not match k otherwise)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@t3chguy t3chguy requested a review from a team December 21, 2019 11:18
@t3chguy t3chguy merged commit 0b62f8a into develop Dec 21, 2019
@t3chguy t3chguy deleted the t3chguy/fix_room_list_filtering branch May 25, 2020 18:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants