You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
Expected: Metadata from a secure registry should not tell me to get any content from an insecure registry url, especially if the registry is the same host
The text was updated successfully, but these errors were encountered:
@peterlynch the npm client itself requests URLs in https form. Since the both the http and the https scheme work, we've opted to store http in the meta-information.
This is not a change happening within the npm-registry-couchapp codebase, though. It was done by running a follower to update all of the package documents served by the primary registry to update dist.tarball.
Original bounced issues:
npm/npm-www#915
npm/newww#390
If I am a savvy user and am using https://registry.npmjs.org (over HTTPS), and issue a metadata request like this one:
https://registry.npmjs.org/commonjs
The returned metadata will tell me to get the tarball over HTTP. What is the point of HTTPS then?
As I checked, both HTTP and HTTPS URLs works for tarball.
Another example:
https://registry.npmjs.org/htmlparser2
Expected: Metadata from a secure registry should not tell me to get any content from an insecure registry url, especially if the registry is the same host
The text was updated successfully, but these errors were encountered: