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

搜索 | 用户支持

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

详细了解

An xml file keep misidentified as an html file without any visible reason

more options

Recently, after my computer get repaired, I had to do various things, such as reinstall some software and, in the case of Firefox, put back my bookmarks and rss feeds (they were lost and if there was a backup, I didn't find it)

The problem only happen with this page. I didn't find any other page with this problem.

I checked all what I can about this page (using view-source). I compared it with other xml files, mostly other rss, and the documentation I found about rss, xml and html. Visibly, this is a regular xml/rss page. I didn't found anything special in.

There are element underlined in red in the source code but it is mostly what can be seen as an error if this is parsed at assuming it's html code.

I also check what I get if I do a right click then, in the contextual menu, I select "inspecter" (sorry, on my computer, Firefox is set to french and I don't know the english term ; this is the last entry of the menu). I got a different code. Apparently, Firefox applied (pseudo) fixes to display the page as an html document.

I checked the name of the page. This is unusual but, in my rss feeds, there are several other rss feeds named this kind of way and all of them work properly.

The last thing I checked is the RSS link that is on most pages of the site and send to this glitched page. It doesn't seem to be more the cause.

Visibly, for an unknown reason, Firefox decreed this is html code and I found no way to make it reconsider this or parse this page as xml.

It seem the first mention of problem with the rss feed on this site was a comment written almost four months ago but I don't know if it was the same problem.

Recently, after my computer get repaired, I had to do various things, such as reinstall some software and, in the case of Firefox, put back my bookmarks and rss feeds (they were lost and if there was a backup, I didn't find it) The problem only happen with [https://suihira.com/comic/rss this page]. I didn't find any other page with this problem. I checked all what I can about this page (using view-source). I compared it with other xml files, mostly other rss, and the documentation I found about rss, xml and html. Visibly, this is a regular xml/rss page. I didn't found anything special in. There are element underlined in red in the source code but it is mostly what can be seen as an error if this is parsed at assuming it's html code. I also check what I get if I do a right click then, in the contextual menu, I select "inspecter" (sorry, on my computer, Firefox is set to french and I don't know the english term ; this is the last entry of the menu). I got a different code. Apparently, Firefox applied (pseudo) fixes to display the page as an html document. I checked the name of the page. This is unusual but, in my rss feeds, there are several other rss feeds named this kind of way and all of them work properly. The last thing I checked is the RSS link that is on most pages of the site and send to this glitched page. It doesn't seem to be more the cause. Visibly, for an unknown reason, Firefox decreed this is html code and I found no way to make it reconsider this or parse this page as xml. It seem the first mention of problem with the rss feed on this site was [https://suihira.com/comic/355 a comment] written almost four months ago but I don't know if it was the same problem.

由asmanel于修改

所有回复 (1)

more options

The server is sending this header:

Content-Type: text/html; charset=UTF-8

So that is why Firefox treats it as HTML. I can't think of a quick way to fix this. (I have an add-on that can fix mistaken content types based on the file extension, but this page doesn't have a .xml file extension.)