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

fix: Homepage no longer downloaded on script #6090

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

notPlancha
Copy link

Currently checkver.ps1 GETs the homepage, even if script is specified, and does nothing with it. This becomes an issue when the homepage doesn't return a 2xx, like a timeout, or a 403 Forbiden (like cloudflare does). I don't see any reason this is the case, so I wrapped this logic in an if/else. I am not sure if this is the best option, or if this is breaking at all (I don't think it is but I'm not completly sure)

fixes #5704.

PS: I'm not sure if I'm supposed to create the PR to the master branch or the develop branch (CONTRIBUTING.md) isn't really clear on that. Right now they're synced so it shouldn't be an issue.

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.

[Bug] homepage should not be downloaded when checkver script is specified
1 participant