vendredi 23 février 2018

Why doesn't Chrome decode location.hash and print decoded characters?

Type the following url address in Chrome location bar:

"www.αααααα.com/αααααα/αααααα.html#αααααα"

Then enter, it turned out to be:

"www.αααααα.com/αααααα/αααααα.html#%CE%B1%CE%B1%CE%B1%CE%B1%CE%B1%CE%B1"

In IE, there's no such problem, so is it a bug for Chrome?

I want to know how to make Chrome display decoded characters after "#".

Currently I have a single page app whose history relies on location.hash, and if that the hash can be pretty printed in the location bar will be great for users.




Aucun commentaire:

Enregistrer un commentaire