这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jazzzooo
Copy link
Contributor

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.

@dalf
Copy link
Contributor

dalf commented Sep 21, 2023

Idea: raise an exception at the version 120, to manually check the effective user agent. --> #2822 (comment)

@jazzzooo
Copy link
Contributor Author

Yeah I agree, I added an exception at 120

@jazzzooo
Copy link
Contributor Author

@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.

@unixfox unixfox reopened this Sep 21, 2023
@Bnyro
Copy link
Member

Bnyro commented Sep 21, 2023

@jazzzooo You're certainly the most overqualified "GitHub staff" I've ever seen 😂

@jazzzooo
Copy link
Contributor Author

@Bnyro thank you, maybe I'm more of an intern 😆

@dalf dalf self-requested a review September 25, 2023 20:45
@dalf
Copy link
Contributor

dalf commented Sep 25, 2023

Thank you

@dalf dalf merged commit 3c6549a into searxng:master Sep 25, 2023
@jazzzooo jazzzooo deleted the update-user-agent branch September 26, 2023 02:46
@return42 return42 mentioned this pull request Oct 8, 2023
return42 added a commit to return42/searxng that referenced this pull request Dec 4, 2023
This reverts commit 3c6549a.

Related:

- searxng#2826
return42 added a commit that referenced this pull request Dec 23, 2023
This reverts commit 3c6549a.

Related:

- #2826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants