I have relative urls embedded in my css which pickup fonts that are used to display font icons.

I though I could serve javascript and image files via CDN and skip the css to leave the font icons as is.

However just enabling this module in Origin Pull mode immediately disables the relative URL's in the css.

Should that be happening?

Comments

Wim Leers’s picture

Issue summary: View changes

Definitely not. Minor clarification: it only happens in Basic mode, and when the CDN module's status is set to "enabled", not "disabled" or "testing mode".

See http://cgit.drupalcode.org/cdn/tree/cdn.module?id=7.x-2.6#n238.

Wim Leers’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

On investigating this, it's not clear what you mean by "disables relative URLs in the CSS". Does it transform them to absolute URLs? Does it rewrite them to the CDN?

How does Drupal core — without the CDN module — change these "relative URLs in the CSS" when CSS aggregation is on?

Wim Leers’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No replies in 5 months and 8 days. Closing. Feel free to reopen if you have more information.