Skip to content

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