2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-08-17 18:04:11 +08:00

FIX: update final destination to use more recent user agent (#34207)

FD was using a user agent that is many years old so it is being flagged
as
an out of date browser
This commit is contained in:
Sam 2025-08-11 13:58:56 +10:00 committed by GitHub
parent e2d1d34617
commit 4a17a31770
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ class FinalDestination
end
DEFAULT_USER_AGENT =
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
attr_reader :status, :cookie, :status_code, :content_type, :ignored