Error with pod install: userinfo not supported. [RFC3986]
Mebius973 opened this issue · 9 comments
- [X ] I've read and understood the CONTRIBUTING guidelines and have done my best effort to follow.
Report
What did you do?
Run pod install
What did you expect to happen?
Install all pod dependencies correctly.
What happened instead?
I got the error: "userinfo not supported. [RFC3986]"
My sources are like https://[USERNAME]:[PASSWORD]@MySpecRepo.com
CocoaPods Environment
Happened with cocoapod 1.11.0
Worked like a charm with cocoapod 1.10.1
We probably need a follow up PR to this #703 to catch more the regex.
Can you provide a similar repo URL for us to write a test with? Transferring this cocoapods-core.
This passes for me:
it 'test' do
url = 'https://hello:world@MySpecRepo.com'
@sources_manager.send(:name_for_url, url).
should == 'myspecrepo'
end
There is something specific to your URL and setup that causes the regex not to catch it.
Hello @dnkoutso, you can use this repo to reproduce: https://gitlab.com/t2428/myapp
Type "pod install".
With pod 1.10.2 -> Everything is ok
With pod 1.11.0 -> userinfo not supported. [RFC3986]
let me see.
If you still see a problem I will re-open after 1.11.1 ships.
Actually this may be have been a different issue which I think I got a fix. Follow along here CocoaPods/CocoaPods#10941
Actually will be fixed by CocoaPods/CocoaPods#10942 instead.
and PR CocoaPods/CocoaPods#10942