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

Bartosz Dziewoński <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]

--- Comment #1 from Bartosz Dziewoński <[email protected]> ---
There are two bugs hidden here. My patch introduced neither, but exposed them
both by making the regex used to detect 'url()' values more lax and thus
matching the @imports that are the concern here.

The first bug is that protocol-relative URLs are not being detected and were
processed as if they were paths to files.

The second bug is that even if an URL is detected, the query part is dropped.

The only reason this hasn't come up before is because the 'url()' values are
used almost exclusively for background-images (and related styles), and almost
all such images are pulled from Commons, which does not require any query
parameters to be provided.

I'm writing a patch to fix both of these problems.


The fact that '@import url()' rule is now being considered for remapping might
be an issue in theory (I honestly don't know if we should remap them), but
should not be an issue in practice once we fix the two bugs above.

-- 
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