为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox 4 can't open a certain website (www.511ny.org) - says it is application/vnd.wap.xhtml+xml

  • 6 个回答
  • 74 人有此问题
  • 4 次查看
  • 最后回复者为 BILLatNYSDOT

more options

Firefox 4 can't open a certain website (www.511ny.org) and a dialog box opens and says this page is: application/vnd.wap.xhtm+xml. It asks me if I want to save it or open it with another application. If I open with IE I get the source code and if I open with FF I get a very broken site. If I go directly to www.511ny.org in other browsers (IE, Opera, and earlier versions of FF) it views fine. I'm not a techie so I'm not sure what is going on. Any ideas?

Firefox 4 can't open a certain website (www.511ny.org) and a dialog box opens and says this page is: application/vnd.wap.xhtm+xml. It asks me if I want to save it or open it with another application. If I open with IE I get the source code and if I open with FF I get a very broken site. If I go directly to www.511ny.org in other browsers (IE, Opera, and earlier versions of FF) it views fine. I'm not a techie so I'm not sure what is going on. Any ideas?

所有回复 (6)

more options

Try clearing your caches: How to clear the Firefox cache.

It looks like the server was sending the wrong headers.

If that doesn't fix it, go to Tools > Options > Applications and see if you have any lines corresponding to vnd.wap.xhtm+xml and select it and select the default option

more options

Hi. Thanks for the suggestions. I cleared the cache (typically I always set it to clear when I close anyway), but I still got the request to save or open the file. When I went to the Tools>Options>Applications I did find the application/vnd.wap.xhtml+xml file, but the default option is to "Always ask".

I did a little reading and it looks like this vnd.wap.xhtml+xml is a MIME type. Is that right? Looking at this page (http://www.developershome.com/wap/wapServerSetup/tutorial.asp?page=whatIsMIME) does this mean that FF4 needs to tweak something or the website I'm trying to visit or me tweaking my browser?

more options

Hmmmm, I think I need to install an plugin (https://addons.mozilla.org/en-us/firefox/addon/xhtml-mobile-profile/)--So now I can see the site, but the mobile version. Strange. Really not sure what is going on here.

由sfkendrick于修改

more options

This problem has been identified by our vendor and will be fixed shortly (hopefully today). This is not a problem with Firefox 4, but in the user-agent detection (I believe). I will post an update when its fixed.

PS: If you cant wait for the fix, you can switch your user-agent using this Firefox add-on: User Agent Switcher

-Bill

more options

Thanks Bill!

more options

The problem has been fixed.

@sfkendrick: The user-agent detection was incorrectly identifying FF4 as a mobile browser, in turn redirecting to a mobile version. That is why your work around was successful. We are now correctly identifying FF4 so you should be able to remove the add-on you installed.