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

       Web browser: ---
             Bug #: 29969
           Summary: Protocol-relative URLs in ResourceLoader (CSSMin)
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Resource Loader
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: roan.katt...@gmail.com
                CC: greenrea...@hotmail.com, roan.katt...@gmail.com
            Blocks: 20643
    Classification: Unclassified


CSSMin expands URLs to images and such when it does path rewriting. It also
runs these paths through wfExpandUrl(), which means they will usually end up
starting with http:// (even with a protocol-relative $wgServer). We can't use
magic request protocol-based switching between http and https either due to
caching, so we should just output protocol-relative (or even URLs relative to
the root? I think there's a reason we don't do that but I forget) URLs here.

Reported by GreenReaper (CC).

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to