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

Adding cdn support #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bhaskarmelkani
Copy link

This is tested in production environments with and without CDN urls.

@joanniclaborde
Copy link
Contributor

Thanks for contributing! Unfortunately this is not quite complete yet: the unit tests are missing.

Also, I don't think your solution will work with relative paths. See this test for example:

<img src="oops/../images/oops/../ajax-loader.gif" />

It will probably end up like this (notice the missing slash):

<img src="http://subdomain.domain.xxxoops/../images/oops/../ajax-loader.4e26f87c.gif" />

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

Successfully merging this pull request may close these issues.

2 participants