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

Fixed #25283 -- Avoid collectstatic errors if an url contains a fragment that looks like a path #5642

Closed
wants to merge 1 commit into from

Conversation

jaap3
Copy link
Contributor

@jaap3 jaap3 commented Nov 12, 2015

In some cases an @font-face declaration will contain a fragment that looks like a relative path.

e.g. @font-face { src: url('../fonts/font.svg#../path/like/fragment'); }

In these cases an incorrect path was passed to the storage backend, which raised an error
that in turn caused collectstatic to stop dead in it's tracks.

…ent that looks like a path

In some cases an @font-face declaration will contain a fragment that looks like a relative path.

e.g. @font-face { src: url('../fonts/font.svg#../path/like/fragment'); }

In these cases an incorrect path was passed to the storage backend, which raised an error
that in turn caused collectstatic to stop dead in it's tracks.
@timgraham
Copy link
Member

merged in 7624fdb, thanks!

@timgraham timgraham closed this Nov 13, 2015
@jaap3 jaap3 deleted the ticket-25283 branch November 26, 2015 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants