-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improvement to the used cURL command #26
Comments
I know the parameter -L for following redirects, but from my experience, if you implement it in the way that it is in the root of your published domain it is working really fine. So, the idea was going for max. convenience for a user. I reduce the command to type a min. set. The issue with the -L is, it needs to be uppercase otherwise it is a different parameter, so another caveat during typing. Users do not always pay attention. So, my idea was to get it right from the server side and provide a proper download endpoint so the command can be max. simplified and failure prone. |
btw, many thanks for the kudos 🙏 and of course feel free to communicate the command differently to your users. I might consider an overwrite variable for the next version. With that you can overwrite the complete command with your own one. |
That's exactly what I did which is why the file is delivered directly when using HTTPS. Maybe it is worth checking this once more just to be on the safe side and nobody in the middle can tamper with the I think a long time ago, storage accounts had a default setting to allow unencrypted downloads, not sure when this changed. I could be totally wrong here, it is just that I had to change it that way to make it work with HTTPS transport security that I want. |
True at the time of writing the article I think https wasn't the default. Might be something to actually consider in the meantime. Thanks for bringing this to attention. |
Hi Oliver,
extremely nice project, my sincere appreciation! 👏🏻
Love it.
Just one little detail I have noticed:
I think the cURL command on the home page should use the
-L
parameter like this:Otherwise, the download might contain HTML content about the 302 redirect notice and the file will not be executable.
You could also use the explicit
https
URL for the executable file download of course:Each of it is a bit more to type for the user, but it won't give any errors anymore. 😃
Cheers,
Julian
The text was updated successfully, but these errors were encountered: