Details
-
Improvement
-
Resolution: Won't Fix
-
Minor
-
None
-
3.0.1
-
None
Description
I'm using Nexus OSS 3.0.1-01. I have a Bower repository. If I use an HTTPS URL with credentials in it they get exposed in the <package_name>/mapping.json file. Also an HTTPS GIT URL without credentials attempts to register a different package than an HTTPS GIT URL with the credentials.
I would propose that Nexus takes the credentials out of the HTTPS GIT URLs when putting them into the mapping.json file. Also, I would propose that an HTTPS GIT URL with or without out credentials in it should evaluate to the same Bower package.
The mapping.json file looks like:
{"name":"package_name","url":"https://github.com/blah/blah.git"} or {"name":"package_name","url":"https://username:password@github.com/blah/blah.git"}
Example bower register command:
bower register package_name https://github.com/blah/blah.git or bower register package_name https://username:password@github.com/blah/blah.git
I'm happy to give more information if necessary. Thanks for considering.