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

HTTP -> HTTPS redirection problem fix. #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SamuelGold
Copy link

@SamuelGold SamuelGold commented Apr 1, 2023

From today server redirects HTTP->HTTPS, that causes impossibility to download DMRHosts.txt and other files:

`cat ~/.config/dudetronics/DMRHosts.txt

<title>301 Moved Permanently</title>

Moved Permanently

The document has moved here.

`

This PR changes the downloading url to use https.

@SamuelGold
Copy link
Author

Update the app in PlayMarket ASAP, please, all apps just stopped working -_-

@AsciiWolf
Copy link

--2023-08-06 12:56:57--  http://www.dudetronics.com/ar-dns/M17Hosts.txt
Resolving www.dudetronics.com (www.dudetronics.com)... 69.163.164.85
Connecting to www.dudetronics.com (www.dudetronics.com)|69.163.164.85|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13916 (14K) [text/plain]
Saving to: 'M17Hosts.txt'

M17Hosts.txt                                                100%[=========================================================================================================================================>]  13.59K  --.-KB/s    in 0.001s  

2023-08-06 12:56:57 (20.1 MB/s) - 'M17Hosts.txt' saved [13916/13916]

It seems to resolve fine over HTTP now. Although I agree that using a secure HTTPS protocol would be much better.

@SamuelGold
Copy link
Author

Make sense to enable it by default.

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