-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[fix] update user agent #2826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] update user agent #2826
Conversation
|
Idea: raise an exception at the version 120, to manually check the effective user agent. --> #2822 (comment) |
378cee7 to
d346563
Compare
|
Yeah I agree, I added an exception at 120 |
d346563 to
8bcca0e
Compare
|
@return42 I'm not sure how I managed to close this haha, and github isn't showing the changes, but feel free to reopen. My changes are on the branch. |
|
@jazzzooo You're certainly the most overqualified "GitHub staff" I've ever seen 😂 |
|
@Bnyro thank you, maybe I'm more of an intern 😆 |
|
Thank you |
This reverts commit 3c6549a. Related: - searxng#2826
What does this PR do?
Fixes the User-Agent to be a valid one. Currently the geckoversion rv value is frozen as 109.
Why is this change important?
As dalf found, firefox froze their rv value at 109. This made our User-Agent invalid and led to us being detected as a bot by Bing. This could also have negative effects for other engines.
How to test this PR locally?
Try some searches, make sure no engine is broken by this. Shouldn't be the case tho.