Skip to content

[stable1.5] Make sure the e-mail is valid UTF-8#3857

Merged
ChristophWurst merged 1 commit into
stable1.5from
backport/3855/stable1.5
Oct 21, 2020
Merged

[stable1.5] Make sure the e-mail is valid UTF-8#3857
ChristophWurst merged 1 commit into
stable1.5from
backport/3855/stable1.5

Conversation

@backportbot-nextcloud
Copy link
Copy Markdown

backport of #3855

Sometimes (I'm looking at you SPAM mails) the e-mail address will
contain invalid UTF-8. This will make sure we only return valid UTF-8 by
just stripping the invalid parts.

Hacky: for sure
Works: for me

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Copy link
Copy Markdown
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

such brilliant code!

@ChristophWurst ChristophWurst merged commit ff8f90c into stable1.5 Oct 21, 2020
@ChristophWurst ChristophWurst deleted the backport/3855/stable1.5 branch October 21, 2020 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants