Commit bd1021e
fix(cve): use base64 -w 0 to prevent newline-broken auth headers
base64 wraps output at 76 characters by default, which injects newlines
into the Authorization header when credentials are long enough. This
causes curl error 43 ("bad argument") and HTTP 000 responses.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2239b41 commit bd1021e
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| |||
0 commit comments