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

       Web browser: ---
            Bug ID: 58473
           Summary: [Regression] CSSMin's url() value processing doesn't
                    allow parentheses or quotes in the URL
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: code-update-regression
          Severity: normal
          Priority: Unprioritized
         Component: ResourceLoader
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I have a cross-wiki @import in my personal common.js and common.css pages (on
all WMF public wikis) – e.g.
https://www.mediawiki.org/w/index.php?title=User:Jdforrester_(WMF)/common.css&oldid=605983
– of the form:

@import url('//meta.wikimedia.org/w/index.php?title=User:Jdforrester
(WMF)/global.css&action=raw&ctype=text/css');

Until recent changes unveiled this bug, this worked fine, but now the first
parenthesis aborts the import (so it runs as "@import
url('//meta.wikimedia.org/w/index.php?title=User:Jdforrester (WMF"), which
unsurprisingly 404s.

I can fix this for myself with a bot edit to 1600 pages (fun) to URL-encode the
parentheses, but this regression should actually be fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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