[wp-trac] [WordPress Trac] #55177: Normalizing relative CSS links should skip data URIs
WordPress Trac
noreply at wordpress.org
Thu Feb 17 17:58:25 UTC 2022
#55177: Normalizing relative CSS links should skip data URIs
-------------------------------------------------+-------------------------
Reporter: staatic | Owner:
| hellofromTonya
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9.1
Component: Script Loader | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests fixed- | Focuses:
major commit dev-reviewed |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"52762" 52762]:
{{{
#!CommitTicketReference repository="" revision="52762"
Script Loader: Prevent normalizing data URIs in
`_wp_normalize_relative_css_links()`.
This prevents making data URIs as in `mask-
image:url('data:image/svg+xml;utf8,<svg...` relative to the WordPress
installation.
Props staatic.
Merges [52754] to the 5.9 branch.
See #54243.
Fixes #55177.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55177#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list