Fixes vanity-url creating with foreign chars.