Closed Buju77 closed 3 years ago
Follow up to https://github.com/CocoaPods/cocoapods-downloader/pull/116 (for posterity).
@Buju77 can you also try this fix instead?
encoded_branch_name = branch_name.dup.force_encoding(Encoding::ASCII_8BIT)
?
Also lets point to 1-5-stable
branch since we will do a quick 1.5.1 release for this fix.
I think this fix will suffice.
@Buju77 lets make sure we point to 1-5-stable
branch and rebase this PR before we merge it.
Follow up to #116 (for posterity).
@Buju77 can you also try this fix instead?
encoded_branch_name = branch_name.dup.force_encoding(Encoding::ASCII_8BIT)
yes, this works as well.
But I thought that branch_name.encode()
would already return a copy and doesn't modify branch_name
itself?
@Buju77 lets make sure we point to
1-5-stable
branch and rebase this PR before we merge it.
ok, I've now rebased on top of 1-5-stable
@Buju77 I think you are right and we can fix it your way
oh well we can land this now! :D
I will ship 1.5.1 of cocoapods-downloader
@Buju77 shipped! https://github.com/CocoaPods/cocoapods-downloader/releases/1.5.1
@dnkoutso thank you very much! 👍
this PR fixes https://github.com/CocoaPods/CocoaPods/issues/10920