Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross domain CSS files with ? in URL won't load #59

Closed
jasonreposa opened this issue Sep 6, 2011 · 1 comment
Closed

Cross domain CSS files with ? in URL won't load #59

jasonreposa opened this issue Sep 6, 2011 · 1 comment

Comments

@jasonreposa
Copy link

We use a cache buster variable to force the loading of new CSS. The respond-proxy.html file has a faulty regex that expects .css to be the last part of the string.

E.g., the stylesheet:

http://www.example.com/style.css?1234

Will attempt to load cross domain, using:

http://cdn.example.com/proxy/respond-proxy.html?url=http://www.example.com/respond.proxy.gif&css=http://www.example.com/style.css?1234

Notice the double question marks.

@dblock
Copy link

dblock commented Dec 20, 2011

We had a similar issue with compressed assets. Our are .css.gz, sometimes. For now we just hacked the code in the HTML, but maybe there's a cleaner solution?

scottjehl pushed a commit that referenced this issue Mar 16, 2012
Resolves Issue #59: Cross domain CSS files with ? in URL won't load
@doctyper doctyper closed this as completed Apr 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants