Skip to content

Switch passing mjml via argument to via stdin#31

Merged
riasvdv merged 1 commit intospatie:mainfrom
rrehbein:feature/pass-template-via-stream
Mar 17, 2025
Merged

Switch passing mjml via argument to via stdin#31
riasvdv merged 1 commit intospatie:mainfrom
rrehbein:feature/pass-template-via-stream

Conversation

@rrehbein
Copy link
Contributor

Alternate fix to bug #25

@riasvdv
Copy link
Contributor

riasvdv commented Mar 17, 2025

Do we still need the base64 encoding/decoding when using stdin or can we skip it in that case as well?

@rrehbein
Copy link
Contributor Author

rrehbein commented Mar 17, 2025

In theory the base64 could be skipped, however I wasn't confident that some odd byte-sequence such as an EOF, or something UTF-8 would break anything on any specific platform. I am only able to test on a Linux system at the moment. The base64 encoding seemed easy enough to leave as a defensive measure.

@riasvdv riasvdv merged commit ee1a904 into spatie:main Mar 17, 2025
5 checks passed
@riasvdv
Copy link
Contributor

riasvdv commented Mar 17, 2025

Thanks!

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