url escape codes not recognized correctly in host

Bug #350743 reported by Chris Cowan
4
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

Firefox version 3.0.8

EDIT: Shorter version.
If you click this link: http://%E2%9E%A1.ws/%E3%AD%8E : Firefox will say it couldn't find the server. If you click in the address bar, and press enter, it will load the page correctly.

ORIGINAL:
I've got a short unicode-heavy URL - http://➡.ws/㭎 . (This URL was generated by http://www.tinyarro.ws - it's a similar idea to tinyurls.com, just a lot shorter. Btw this one just links to a funny article at TheOnion.)

I noticed when I linked to it, if I highlighted it and viewed the selection source, it would say href="http://%E2%9E%A1.ws/%E3%AD%8E". But if I simply right-clicked anywhere else and viewed page source, it would be href="http://➡.ws/㭎" as it was originally.

I noticed if you copy+pasted "http://%E2%9E%A1.ws/%E3%AD%8E" into the address bar, Firefox would say that the URL wasn't found. Pressing enter a second time would bring you to the page correctly.

That doesn't seem like a serious problem, but then I tried making the original URL a link on a WordPress website. Apparently WordPress parsed the link before serving Firefox the html - when I viewed the page source, it would say href="http://%e2%9e%a1.ws/%E3%AD%8E". If I clicked the link, I'd have the same problem as I had before when I copy-pasted the escaped code into the URL. It would only recognize it the second time.

Chris Cowan (macil)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.