Homebrew / actions

🚀 Homebrew's GitHub Actions
BSD 2-Clause "Simplified" License
118 stars 39 forks source link

Disable base64 line wrapping on Linux. #458

Closed jpeach closed 10 months ago

jpeach commented 10 months ago

The GNU coreutils base64 command will wrap long tokens to 74-character lines, breaking the Authorization header. Disable line wrapping on Linux.

This fixes #457.

jpeach commented 10 months ago

cc @Bo98

Bo98 commented 10 months ago

Ah, that's annoying. Thanks for the fix!

Since it's possible to install GNU base64 on macOS, I wonder if the most cross-platform fix here is to simply | tr -d "\n"

jpeach commented 10 months ago

Ah, that's annoying. Thanks for the fix!

Since it's possible to install GNU base64 on macOS, I wonder if the most cross-platform fix here is to simply | tr -d "\n"

Yeh that works on both Ubuntu an macOS. Lemme update the PR.