Skip to content

64-bit detection doesn't work if the user agent string is missing "Win64" #1467

Closed
@aaronfranke

Description

@aaronfranke

Problem

https://git-scm.com/download/win

Currently, the download page tries to detect the bit-ness of the system and automatically provide the correct download option. However, not all browsers provide this information the same way.

I've found that when the user agent contains "Win64", the website correctly detects that it's a 64-bit system. However, when the user agent is missing this, the website provides 32-bit downloads, even if the user agent string also contains "x64" or "x86_64".

To fix this issue, the 64-bit detection should also look for the presence of "x64" and "x86_64".

Alternatively, the website could default to 64-bit, and detect 32-bit platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions