Closed Bug 1845568 Opened 1 year ago Closed 1 year ago

Firefox shows blank page instead of 406 error

Categories

(Core :: Networking: HTTP, defect, P3)

Desktop
Unspecified
defect

Tracking

()

RESOLVED DUPLICATE of bug 1325876

People

(Reporter: smurfd, Unassigned)

References

Details

(Whiteboard: [necko-triaged])

hey,

if you go to https://github.com/m.ozilla (yes with the dot)
In firefox it shows a blank page
In chrome it shows a 406 error
in safari it shows a blank page

I first thought it was an issue at github so i filed a bug there (or supportcase rather https://support.github.com/ticket/personal/0/2256433)
where they showed the 406 error in chrome.

Is it supposed to show a blank page or something? blank page feels confusing :)
or is it up to the server who hosts the webpage?

thanks

Severity: -- → S3
Priority: -- → P3
Whiteboard: [necko-triaged]

For the record:

> curl -i https://github.com/m.ozilla
HTTP/2 406 
server: GitHub.com
date: Mon, 31 Jul 2023 12:21:46 GMT
content-type: text/html
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com objects-origin.githubusercontent.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com cdn.optimizely.com logx.optimizely.com/v1/events *.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ wss://*.actions.githubusercontent.com github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com objects-origin.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/
set-cookie: _gh_sess=LgbPcxRQOCwBVG532iPMC%2By0vQLrjYBpEprg3xneUDjK6UEWKRKFGss5HQhkvasMCQsw0VERLEpSCAG7X6ZZcfWLFY%2FCpBYhawzc%2BO%2FdAHPAOyOnLJo3NhF4e4EyZfMnjT3xEVV62ukV7BiyiR5UugePcLz8UpdGfyCI0GadhpogfFtgcAoVpRTEyhKO5lKMhNCYzEaMP0uUTzQ8O6h%2BSazUoEhVGgz41wNAO94GNORHJKjiVtnIOSHM8KefJ2K4MVJ09xugnCEGPd%2FcKmbkZw%3D%3D--yDlSR1aR9F%2BrrHhq--JG5tqSL95mzcAlqiauYT2w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.490790539.1690806106; Path=/; Domain=github.com; Expires=Wed, 31 Jul 2024 12:21:46 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 31 Jul 2024 12:21:46 GMT; HttpOnly; Secure; SameSite=Lax
content-length: 0
x-github-request-id: ED7C:8CF8:1031E17:105B49A:64C7A75A

One-line test server in bash: while [ 1 ]; do printf 'HTTP/1.0 406 Not Acceptable\r\nConnection: close\r\nContent-Length: 0\r\n\r\n' | nc -l 5555; done

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1325876
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.