https://bugzilla.wikimedia.org/show_bug.cgi?id=41331

--- Comment #9 from Krinkle <[email protected]> 2012-11-01 00:18:28 UTC ---
(In reply to comment #7)
> IE7 and IE8 have problems with protocol-relative URLs. We learned this the 
> hard
> way back in September 2011:
> 
> https://commons.wikimedia.org/wiki/Commons:Administrators%27_noticeboard/Archive_30#Helpdesk_and_Villagepump_flooded_by_users_who_cannot_upload_using_upload_wizard
> 
> https://commons.wikimedia.org/wiki/MediaWiki_talk:Gadget-HotCat.js/Archive02#HotCat_is_not_working
> 
> Avoid using them in JavaScript. As a work-around, make sure any
> protocol-relative URL in your JS code is prefixed by 
> document.location.protocol
> before using it in Ajax calls or script or CSS inclusions.

No need to use document.location.prototocol. Protocol-relative urls on
themselves work fine. We're hitting an IE bug here that can be fixed in our
code.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to