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

Error with pod install: userinfo not supported. [RFC3986] #705

Closed
Mebius973 opened this issue Sep 3, 2021 · 9 comments
Closed

Error with pod install: userinfo not supported. [RFC3986] #705

Mebius973 opened this issue Sep 3, 2021 · 9 comments
Milestone

Comments

@Mebius973
Copy link

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

@dnkoutso
Copy link
Contributor

dnkoutso commented Sep 3, 2021

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.

@dnkoutso dnkoutso transferred this issue from CocoaPods/CocoaPods Sep 3, 2021
@dnkoutso dnkoutso added this to the 1.11.1 milestone Sep 3, 2021
@dnkoutso
Copy link
Contributor

dnkoutso commented Sep 3, 2021

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.

@Mebius973
Copy link
Author

Mebius973 commented Sep 9, 2021

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]

@dnkoutso
Copy link
Contributor

let me see.

@dnkoutso
Copy link
Contributor

Verified this works with #703 which will ship with 1.11.1 hopefully today.

@dnkoutso
Copy link
Contributor

If you still see a problem I will re-open after 1.11.1 ships.

@dnkoutso
Copy link
Contributor

Actually this may be have been a different issue which I think I got a fix. Follow along here CocoaPods/CocoaPods#10941

@dnkoutso
Copy link
Contributor

Actually will be fixed by CocoaPods/CocoaPods#10942 instead.

@dnkoutso
Copy link
Contributor

and PR CocoaPods/CocoaPods#10942

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