Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unescape escaped special characters in subject header #1199

Closed
wants to merge 2 commits into from

Conversation

J0
Copy link
Contributor

@J0 J0 commented Jul 26, 2023

What kind of change does this PR introduce?

Currently, the Supabase config file escapes special characters wherever present. This PR aims to unescape given special characters. Since the primary character of contention seems to be the apostrophe ' we escape this character. While this fix seems to work, it seems rather hacky as the issue it resolves is somewaht specific to the Supabase hosted setup

What is the current behavior?

Emails are sent with ' wherever there is a '. For example, John's email becomes John's Email

What is the new behavior?

John's email remains as John's email. Tested on a hosted Supabase instance with ' inserted

@J0 J0 changed the title fix: unescape escaped ' characters in subject header fix: unescape escaped special characters in subject header Jul 26, 2023
@J0 J0 marked this pull request as ready for review August 3, 2023 15:44
@J0 J0 requested a review from a team as a code owner August 3, 2023 15:44
@J0
Copy link
Contributor Author

J0 commented Aug 3, 2023

Closing, refer to internal notion for details

@J0 J0 closed this Aug 3, 2023
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.

1 participant