-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix the scope regex, allow / in addition to %2f in the url #4367
Conversation
Will add a test in a bit. |
9664694
to
a029195
Compare
Now with tests |
a029195
to
365207a
Compare
See #4366 (comment) I don't think this is the correct solution. |
Following on from #4366 (comment) I think this might be the best solution. I've added some more tests and a fix for |
Hey @KidkArolis I improved some tests while investigating but couldn't PR against your fork. |
@BYK this PR fixes the private registry issue. Is it possible to get this into the next patch release? Re master...lukeggchapman:more-scope-tests, I'm happy to:
Whatever gets this fixed sooner.. as it's causing a bit of disturbance, all our Codeship builds are failing since Codeship upgraded to the latest yarn.. |
Agreed, lets get this in as soon as possible. I can create a seperate PR after. |
@KidkArolis it is my aim to get this into 1.0.2 and release that ASAP. |
…4367) **Summary** Fixes yarnpkg#4366. NPM registry encodes the `/` in scoped package names for meta look ups but not for tarball download URLs so Yarn was not sending authentication headers for the tarball downloads breaking scoped packages. This patch fixes it. **Test plan** Updated tests.
Fixes #4366