如何在firefox中的请求之前避免奇怪的字符? [英] How to avoid strange characters before the request in firefox?

查看:97
本文介绍了如何在firefox中的请求之前避免奇怪的字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个网站,我正在使用jquery做各种各样的魔法事物:-)
然而,在firefox中,当我加载jquery 1.4.2时,有时候有趣的字符在请求。



您可以在此截图中看到陌生人角色(谢谢firebug)。 alt text http:// dl.dropbox.com/u/3357132/Screen%20shot%202010-06-07%20at%2015.15.29.jpg



在safari中,Chrome和IE这些有趣的人物不会出现,jQuery的加载罚款在这些浏览器。



为什么这些字符出现,我怎么能删除它们? b
$ b

感谢!!

解决方案

关闭服务器上的内容压缩(gzip)问题。


on a website i'm currently developing I'm using jquery to do all sort of magic things :-) In firefox however, when I load jquery 1.4.2 there are sometimes funny characters in front of the request.

You can see the strangers characters in this screenshot (thank you firebug). alt text http://dl.dropbox.com/u/3357132/Screen%20shot%202010-06-07%20at%2015.15.29.jpg

In safari, Chrome and IE these funny characters don't appear, jquery is loading fine in those browsers.

Why are those characters appearing and how can I remove them?

Thanks!!

解决方案

Turning off the content compression (gzip) on the server solved the problem.

这篇关于如何在firefox中的请求之前避免奇怪的字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆