我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

too long

I faced a problem with Assetic's CSS rewrite. It works fine in the sense it makes the URLs correct, however, it also ruins data:image URLs like this:

background: url('data:image/svg+xml;base64,PD94bWw...');

into:

background: url('../../bundles/proj/css/data:image/svg+xml;base64,PD94bWw...');

Is there a workaround or a fix to this?

It seems there's a pull request for this fix: https://github.com/srosato/assetic/commit/1504cc79588acf418ab5d28320174ef15e603f96

近期文章

  • 是否可以通过ajax POST访问文件上传?
  • 带有JOIN的Doctrine $ record-> get()
  • 使用XML / CSV / FTP自动php / mysql更新脚本
  • 从NOW或LATER(不是将来的时间戳)中选择记录
  • 使用PHP使Twitter API基于PIN的OAuth工作?
  • too long
  • 我该怎么做才能使我的cURL脚本更安全?
  • 新闻页面上的分页无法正常工作
  • 如何通知从应用程序发布的消息?
  • 在IIS上安装.crt SSL证书
  • 添加到ySlow Chrome扩展程序中的CDN
  • 不存在参数的PDO :: bindParam?
  • Cakephp对多个不相关的数据库表进行分页
  • 系统守护进程梨
  • 在预定时间过后,php过期页面
  • Securetrading集成 - 使用php的stapi和paypal
  • Symfony 1.4 doctrine从图像doSave()更新
  • 关键字与特定页面链接 - PHP + mySQL
  • 将PHP会话(+引用数据)脚本转换为ASP.NET
  • $ facebook-> getUser()在转移到新主机后返回0

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华