Using emojis in URLs


I just tried to use an emoji in a webpath and it didn’t work. I know it’s valid since I’d seen other people doing it. I don’t know when I’d actually use it so this isn’t a feature request or anything. I just thought it was interesting that Squiz won’t let you use what should be a valid character.

It does work in the title of a page, just not in a webpath. Just wondering whether that’s deliberate, or if the validator on web paths is overzealous

(Bart Banda) #2

I think the validation of web paths was put in long before emojis was even I thing. AFAIK, we haven’t intentionally disallowed them.