Closed Bug 1733074 Opened 4 years ago Closed 4 years ago

follow.it server sends different content & content-type header for Firefox and Chrome

Categories

(Core :: Networking, defect)

Firefox 92
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: feedbro.reader, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0

Steps to reproduce:

  1. Open URL view-source:https://follow.it/giardiniblog in normal Firefox tab
  2. Look at the content markup and inspect the "content-type" header in Network tab

Actual results:

The server responds with header "content-type: text/html;charset=UTF-8" and shows HTML markup. This causes the feed reader to reject the content.

This problem started occurring just recently.

Expected results:

When using Chrome, the server responds correctly with header "content-type: text/xml;charset=UTF-8" and sends proper XML markup.

The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Networking
Product: Firefox → Core

This seems like a server problem. Using copy-as-curl in the devtools:

Firefox: text/html

 curl 'https://follow.it/giardiniblog' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: cross-site' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -i

Chrome: text/xml

curl 'https://follow.it/giardiniblog'   -H 'authority: follow.it'   -H 'cache-control: max-age=0'   -H 'sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"'   -H 'sec-ch-ua-mobile: ?0'   -H 'sec-ch-ua-platform: "Linux"'   -H 'upgrade-insecure-requests: 1'   -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'   -H 'sec-fetch-site: none'   -H 'sec-fetch-mode: navigate'   -H 'sec-fetch-user: ?1'   -H 'sec-fetch-dest: document'   -H 'accept-language: en-US,en;q=0.9' -i

Removing the Firefox UA from the first command gives you XML.
This is something that is caused by the website. If you think that's a problem I'd contact the follow.it support https://follow.it/contact-us

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.