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

[1-11-stable] cdn_url? check shouldn't crash operations. Catch YAML.load failure #11221

Merged
merged 2 commits into from Feb 25, 2022

Conversation

KostyaSha
Copy link
Contributor

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.

@igor-makarov
Copy link
Contributor

@KostyaSha Could you add a Changelog entry please?

@dnkoutso
Copy link
Contributor

@KostyaSha maybe want to add a changelog entry?

@dnkoutso
Copy link
Contributor

Oops sorry I did not see @igor-makarov same comment! sorry

@KostyaSha
Copy link
Contributor Author

one sec

CHANGELOG.md Outdated Show resolved Hide resolved
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.
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.

None yet

3 participants