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

cdn_url? check shouldn't crash operations. Catch YAML.load failure #11033

Closed
wants to merge 1 commit into from

Conversation

KostyaSha
Copy link
Contributor

@KostyaSha KostyaSha commented Nov 1, 2021

Some services (i.e. gitlab) on https://url/repo.git/CocoaPods-version.yml request will redirect to a login page with http status 200.
Such response body will not be a valid YAML and throw exception.
HTML in a test case was YAML compatible, now it's a real garbage.

fixes #11010

Some services (i.e. gitlab) on https://url/repo.git/CocoaPods-version.yml will redirect to login page with http status 200.
Such response body will not be a valid YAML and throw exception.
HTML in a test case was YAML compatible, now it's a real garbage.
@dnkoutso dnkoutso added this to the 1.12.0 milestone Nov 1, 2021
@KostyaSha
Copy link
Contributor Author

@dnkoutso is it possible to backport it as a fix to 1.11.X?

@dnkoutso
Copy link
Contributor

@KostyaSha yes lets do it can you rebase off of 1-11-stable?

@dnkoutso dnkoutso modified the milestones: 1.12.0, 1.11.3 Feb 25, 2022
@KostyaSha KostyaSha changed the base branch from master to 1-11-stable February 25, 2022 19:39
@KostyaSha KostyaSha changed the base branch from 1-11-stable to master February 25, 2022 19:40
@KostyaSha
Copy link
Contributor Author

A lot of conflicts, pulled from new branch #11221

@dnkoutso
Copy link
Contributor

Going to close, the other PR supersedes that and it will be merged to master once 1.11.3 ships as part of the release process.

@dnkoutso dnkoutso closed this Feb 25, 2022
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

Successfully merging this pull request may close these issues.

Regression in 1.11.0 for custom spec repos that require authentication
2 participants