andrewdavey / andrewdavey/cassette

Issue with font file with existing hash

未关闭
#356 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
531
派生
139
PR 合并指标
30 天内没有已合并 PR

描述

I'm using http://fortawesome.github.com/Font-Awesome/ and the css reference in their file looks like:

```
@font-face {
font-family: 'FontAwesome';
src: url('../font/fontawesome-webfont.eot?v=3.0.1');
src: url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'),
url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
font-weight: normal;
font-style: normal;
}
```

The problem is the `url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1')` part. In Release, Cassette properly handles all the other references, but that one ends up just coming through like `/Content/css/../font/fontawesome-webfont.eot?#iefix`. In my case, I don't need the legacy IE support for this application, so I just blew away that reference, but someone else may need it. Since the others work, I assume it has something to do with that `#iefix`.

See also: http://stackoverflow.com/questions/8050640/how-does-iefix-solve-web-fonts-loading-in-ie6-ie8 for info on ?#iefix

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。