Skip to content

Properly handle all arguments when falling back to plain HTTP.#3474

Open
meisterT wants to merge 1 commit intoDOMjudge:mainfrom
meisterT:ssl_fallback
Open

Properly handle all arguments when falling back to plain HTTP.#3474
meisterT wants to merge 1 commit intoDOMjudge:mainfrom
meisterT:ssl_fallback

Conversation

@meisterT
Copy link
Member

No description provided.

exit(1)
else:
return do_api_request(name)
return do_api_request(name, method, jsonData, decode)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don´t see where we would generate the url with http but why would we want to fallback to http instead of doing HTTPS with an untrusted certificate?

Fix should work though, so approving.

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.

2 participants