Low entropy User-Agent config #10
Replies: 5 comments
-
Microsoft Azure powered sites ("bing.com", "vscode.dev" etc.) might block Firefox User-Agent without plausible "Gecko/" value: [ [1] [[ |
Beta Was this translation helpful? Give feedback.
-
Twitter expects "Firefox/999" alike. |
Beta Was this translation helpful? Give feedback.
-
SiteGround asserts Firefox User-Agent beginning with "Mozilla/"i... |
Beta Was this translation helpful? Give feedback.
-
Though discouraged, many sites still rely on User-Agent parsing... -Mozilla/5.0 (Linux; rv:999) Gecko/20100101 Firefox/999
+Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0 ]] |
Beta Was this translation helpful? Give feedback.
-
Up: https://bugzilla.mozilla.org/show_bug.cgi?id=1868415#c2
The `
Accept: ,*/*
` is for:[Outdated] [Bug] Repository deep link returned JSON
https://github.com/orgs/community/discussions/70778
.
And [ https://i.redd.it/0czt1ekqww531.png ] alike:
`
Accept: text/html,*/*
` coerces HTML page...Requires `
Accept: text/html,image/*,*/*
` alike..
GitLab's crippled design expects alike `
Accept: ,*/*
`...E.g. https://gitlab.com/mbunkus/mkvtoolnix/-/issues
`
Accept: */*
` differed the page itself; and glitched scripts handling.(failed assertion on the page's content)
“URL constructor: undefined is not a valid URL.
isIssuableUrlExternal@...”
[ ^
This seems to break the whole GitLab... Woefully.
(not necessarily the same error message, but alike cause)
Further tested:
https://gitlab.com/dominicp/tutanota-plain-text-bookmarklet
https://gitlab.com/dominicp/tutanota-plain-text-bookmarklet/blob/main/README.md
https://gitlab.com/dominicp/tutanota-plain-text-bookmarklet/blob/main/bookmarklet.js
Might be related:
https://gitlab.com/gitlab-org/gitlab/-/issues/407534
https://gitlab.com/gitlab-org/gitlab/-/issues/345765
https://gitlab.com/gitlab-org/gitlab/-/issues/?sort=updated_desc&state=all&in=TITLE&search=Accept+header
(so broken parameter handling...) ]
[ https://blog.hubspot.com/ ] reported HTTP 400 Bad Request:
When using `
Accept: ,*/*
` with browser-like UA.Workaround would be not sending User-Agent.
Or use "
*/*
" with browser UA (recommended).See also:
[Suggestion] Request headers should not contain more than just-necessary entries
https://forum.vivaldi.net/topic/77666
Beta Was this translation helpful? Give feedback.
All reactions