Skip to content

Scripts don't support mirrors with https protocol in url #44

@liback

Description

@liback

When selecting what mirror to choose the common pattern is like below, which won't match https. The installer automatically chooses another mirror when selecting a https one.

mirror=$(grep "^$number=[fhtp]\{3,4\}://[^ ]*$" nquake.ini | cut -d "=" -f2)

Should be as follows (s added to allowed chars and 5 instead of 4 max chars for protocol part)

mirror=$(grep "^$number=[fhtps]\{3,5\}://[^ ]*$" nquake.ini | cut -d "=" -f2)

Workaround is to define them as http as they will redirect to https anyway (can fix the script of course but for existing installations it's not really practical)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions