Skip to content

domain_fronter: reject invalid relay body base64#24

Merged
therealaleph merged 1 commit into
therealaleph:mainfrom
freeinternet865:fix/relay-base64-errors
Apr 22, 2026
Merged

domain_fronter: reject invalid relay body base64#24
therealaleph merged 1 commit into
therealaleph:mainfrom
freeinternet865:fix/relay-base64-errors

Conversation

@freeinternet865
Copy link
Copy Markdown
Contributor

Treat malformed base64 in Apps Script relay responses as a bad upstream response instead of silently turning it into an empty body.

Add a focused regression test for invalid response body encoding.


Edited and written by GPT.

Treat malformed base64 in Apps Script relay responses as a bad
upstream response instead of silently turning it into an empty body.

Add a focused regression test for invalid response body encoding.
Copy link
Copy Markdown
Owner

@therealaleph therealaleph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct fix: malformed base64 should surface as an upstream error instead of becoming a silent empty body. Test added. cargo check + lib/bin tests pass locally.

@therealaleph therealaleph merged commit 8b2c75b into therealaleph:main Apr 22, 2026
@freeinternet865 freeinternet865 deleted the fix/relay-base64-errors branch April 23, 2026 07:38
therealaleph pushed a commit that referenced this pull request Apr 25, 2026
Treat malformed base64 in Apps Script relay responses as a bad
upstream response instead of silently turning it into an empty body.

Add a focused regression test for invalid response body encoding.

Co-authored-by: freeinternet865 <free@internet865.com>
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.

2 participants