GameDev doesn't URL-encode URLs with Unicode characters

Started by
1 comment, last by Cornstalks 10 years, 12 months ago

After seeing this thread's interesting title, I decided to check the page source and see if the URL, where it was linked, was properly URL encoded. It was not. I checked both the this page and this page, and neither of them URL encoded it as:


http://www.gamedev.net/topic/642153-%E2%99%AAmarble%E3%83%BBtime%E2%98%85ost%E2%98%85release%E2%99%AA

Like they ought to have.

Just an FYI.

[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]
Advertisement

As far as I know, both methods are valid, it's just that encoding is preferred for security reasons (makes it harder to spoof another URL by using similar characters). Well, and maybe compatibility with some servers, but maybe browsers rewrite the URLs under the hood to work around that.

Don't pay much attention to "the hedgehog" in my nick, it's just because "Sik" was already taken =/ By the way, Sik is pronounced like seek, not like sick.
According to RFC 3986, they must be URL encoded: http://en.m.wikipedia.org/wiki/Percent-encoding
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]

This topic is closed to new replies.

Advertisement