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

Emit warning when an insecure URL is used to download files #55

Open
flavorjones opened this issue Aug 24, 2015 · 2 comments
Open

Emit warning when an insecure URL is used to download files #55

flavorjones opened this issue Aug 24, 2015 · 2 comments

Comments

@flavorjones
Copy link
Owner

I would like mini_portile to emit a warning message when it downloads files over 'http'. Something like this would be great:

WARNING: insecure source being used: #{url}
@larskanis
Copy link
Collaborator

This is what the digest value is for. So I think it would be better so print:

WARNING: insecure source being used: #{url} - Please define a MD5/SHA1/SHA256 digest value.

@flavorjones
Copy link
Owner Author

Ah, I agree. We should only emit this type of warning if a checksum is not provided.

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

No branches or pull requests

2 participants