[wp-trac] [WordPress Trac] #39145: custom-background URL escaped

WordPress Trac noreply at wordpress.org
Thu Dec 8 19:51:00 UTC 2016


#39145: custom-background URL escaped
--------------------------+-----------------------------
 Reporter:  futtta        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7.1
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------

Comment (by futtta):

 Well, is this not actually a problem with Autoptimize?

 Can't say for sure, but there seems to be at least one non-Autoptimize
 user who landed on the support forum topic looking for a solution for this
 very same problem (see https://wordpress.org/support/topic
 /incompatibility-with-wp-4-7-aggregate-inline-css/#post-8529348 and
 follow-up posts). So this might just have more then just an impact on AO.

   CSS strings are defined as including escaped characters, also according
 to https://www.w3.org/TR/CSS21/syndata.html#uri

 True, but this is only explicitly stated for specific characters;

  Some characters appearing in an unquoted URI, such as parentheses, white
 space characters, single quotes (') and double quotes ("), must be escaped
 with a backslash so that the resulting URI value is a URI token: '\(',
 '\)'.

 I don't exactly see them advocating escaping slashes ;-)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39145#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list