mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
7624fdb9f8
A @font-face declaration may contain a fragment that looks like a relative path, e.g. @font-face { src: url('../fonts/font.svg#../path/like/fragment'); } In this case, an incorrect path was passed to the storage backend, which raised an error that caused collectstatic to crash.
10 lines
356 B
CSS
10 lines
356 B
CSS
@font-face {
|
|
src: url('fonts/font.eot?#iefix') format('embedded-opentype'),
|
|
url('fonts/font.svg#webfontIyfZbseF') format('svg');
|
|
url('fonts/font.svg#../path/to/fonts/font.svg') format('svg');
|
|
url('data:font/woff;charset=utf-8;base64,d09GRgABAAAAADJoAA0AAAAAR2QAAQAAAAAAAAAAAAA');
|
|
}
|
|
div {
|
|
behavior: url("#default#VML");
|
|
}
|