Skip to content
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

MacOS/Safari: Wrong download redirect on website #113

Closed
vrilcode opened this issue May 24, 2023 · 4 comments
Closed

MacOS/Safari: Wrong download redirect on website #113

vrilcode opened this issue May 24, 2023 · 4 comments
Labels

Comments

@vrilcode
Copy link

Overview

Download page is redirecting to ARM64 binary of KeePassXC for MacOS instead of x86 version, if Safari is used.

Steps to Reproduce

  1. Go to https://keepassxc.org/download/#macos with Safari under MacOS x86
  2. Click on "DOWNLOAD FOR MACOS"
  3. KeePassXC ARM64 version is downloaded

Expected Behavior

It should download x86 version of KeePassXC. With Chrome (also MacOS x86) it's working. Maybe wrong analysis of user-agent string?

Actual Behavior

It's downloading ARM64 version of KeePassXC.

Context

Operating System: MacOS 13.1 (x86_64)
Browser: Safari 16

@vrilcode vrilcode added the bug label May 24, 2023
@droidmonkey droidmonkey transferred this issue from keepassxreboot/keepassxc May 24, 2023
@droidmonkey
Copy link
Member

@phoerious

@phoerious
Copy link
Member

Looks like an unsolvable problem to me. Browsers on macOS do not report the CPU architecture in the user agent string.

Safari on macOS identifies itself as

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15

no matter whether it's a real "Intel" machine or "Apple Silicon". It works in Chrome, because Chrome supports the client hints API. However, Safari and Firefox don't support this API yet, so there is no way to determine the architecture.

@phoerious phoerious closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2023
@vrilcode
Copy link
Author

Maybe it's possible to offer a selection for users instead of auto-redirect?

@phoerious
Copy link
Member

phoerious commented May 25, 2023

You can always download the correct version for your device under "See more options".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants