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

Fixed captive portal bug. #1063

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Fixed captive portal bug. #1063

merged 2 commits into from
Dec 2, 2024

Conversation

nickssl
Copy link
Contributor

@nickssl nickssl commented Dec 2, 2024

Also changed themis downloads from http to https.

… and will not replace existing cdf and netcdf files.

In some cases with captive wifi portals, the wifi responds with 200-OK but the downloaded file is not the file requested by the user, it only contains some html code, usually asking the user to login into the system. Previously, this fake file could replace an already existing cdf file, and then it would be deleted since it cannot be loaded into tplot. This bug was fixed, and now download.py will reject the fake file before replacing any existing files. This only works for cdf and netcdf files.
@nickssl nickssl merged commit 9fc9762 into spedas:master Dec 2, 2024
2 of 3 checks passed
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.

1 participant