Forum Sitebox Auto-Parse Bug in CSS

Discussion and help relating to the PlayerIO webpage and Facebook app hosting solution, Sitebox.

Auto-Parse Bug in CSS

Postby lrussell887 » December 30th, 2014, 8:59 am

The Sitebox documentation says:
Code: Select all
Since it’s very common for CSS files to contain paths to other resources, for instance to background images, the {% url %} tag will automatically process any .css files and replace these resource paths with urls directly to the latest version in the GameFS CDN.

Now, while that's all fine and well I seem to have stumbled upon a problem with that...

Let's say at the top of my CSS file I have:
Code: Select all
@import url(,700);

Well, SiteBox decides to change it to:
Code: Select all
@import url(,700);

If I change "https://" to "http://", that fixes it *unless* I try to view the site with HTTPS which then it fails to load the URL because it's an insecure link. Is there any way this can be fixed, or at least a work around? It's a rather annoying issue.

Posts: 5
Joined: September 27th, 2012, 1:31 am

Re: Auto-Parse Bug in CSS

Postby Henrik » January 5th, 2015, 6:00 pm

Noted, thanks for the bug report, we'll get this fixed.
Posts: 1864
Joined: January 4th, 2010, 1:53 pm

Return to Sitebox