Re:Fake WhatsApp update from “WhatsApp Inc.” with Unicode wh...
by dfc on Saturday November 04, 2017 @05:38PM
(#15627035)
What is a "normalized slug"?
[ Parent
| on HN ]
Re:Fake WhatsApp update from “WhatsApp Inc.” with Unicode wh...
by Arnt on Saturday November 04, 2017 @05:52PM
(#15627092)
The kind of excerpt-like thing you see on the end of many many modern URLs. "rare-white-moose-captured-on-film-in-sweden" in this one: www.bbc.com/news/av/world-europe-40918494/rare-white-moose-captured-on-film-in-sweden
It's machine-produced and surprisingly good at revealing accidental/unintentional/evil duplicates, considering how cheap it is.
Re:Fake WhatsApp update from “WhatsApp Inc.” with Unicode wh...
by 27182818284 on Saturday November 04, 2017 @08:10PM
(#15627491)
slug is a term leftover from newspapers. You most commonly see slugs today where a title might be "Did you know this mushroom is off the hook?" and the URL is turned in to a "slug" like
example.com/mushroom-off-the-hook/
Here is an example of the Django framework's "slugify" https://github.com/django/django/blob/master/django/utils/te...
Re:Fake WhatsApp update from “WhatsApp Inc.” with Unicode wh...
by manigandham on Saturday November 04, 2017 @11:08PM
(#15628003)
A simpler representation of some text, using only lowercase letters, numbers and dashes for spaces. Removes any unsafe or "invisible" characters, accents, and sometimes simple words. Often used in URLs.
TEXT: Fake WhatsApp update from “WhatsApp Inc.” with Unicode whitespace: 1M downloads
SLUG: fake-whatsapp-update-from-whatsapp-inc-with-unicode-whitespace-1m-downloads
Re:Fake WhatsApp update from “WhatsApp Inc.” with Unicode wh...
by nerdponx on Saturday November 04, 2017 @05:41PM
(#15627047)
All names get reduced using Unicode normalization.
Re:Fake WhatsApp update from “WhatsApp Inc.” with Unicode wh...
by rspeer on Sunday November 05, 2017 @11:52AM
(#15630221)
Recently, thousands of users were duped into installing "АdВIосk РIuѕ" in Chrome. Every one of those letters is Unicode normalized.
(Hint: it's not just the I's masquerading as l's.)