Fix idn emails not working in shares - #30600
Merged
Merged
Conversation
Fix #30595 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
CarlSchwan
requested review from
ArtificialOwl,
come-nc and
skjnldsv
and removed request for
a team
January 11, 2022 14:45
tcitworld
requested changes
Jan 11, 2022
Member
There was a problem hiding this comment.
You can use OCP\Mail\Mailer::validateMailAddress that already has the IDN check.
server/lib/private/Mail/Mailer.php
Lines 216 to 249 in 796764a
Member
|
if possible for this code path would be good to add unit tests with an IDN address |
CarlSchwan
force-pushed
the
fix/30595/idn-email-share
branch
from
January 11, 2022 19:56
a666594 to
50da844
Compare
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
CarlSchwan
force-pushed
the
fix/30595/idn-email-share
branch
from
January 11, 2022 19:59
50da844 to
7ecb65f
Compare
tcitworld
reviewed
Jan 12, 2022
CarlSchwan
force-pushed
the
fix/30595/idn-email-share
branch
from
January 12, 2022 14:17
7711339 to
acf3bec
Compare
tcitworld
reviewed
Jan 12, 2022
tcitworld
approved these changes
Jan 12, 2022
CarlSchwan
force-pushed
the
fix/30595/idn-email-share
branch
from
January 12, 2022 15:36
acf3bec to
ed80527
Compare
Member
Author
|
I'm looking into the php unit failures, strange that is works locally for me :/ |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
CarlSchwan
force-pushed
the
fix/30595/idn-email-share
branch
from
January 12, 2022 19:33
ed80527 to
fffc19f
Compare
Member
Author
|
I found why the tests seemed to work locally and fixed them :) |
Member
Author
|
/backport to stable23 |
Member
Author
|
/backport to stable22 |
Member
Author
|
/backport to stable21 |
This was referenced Jan 13, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #30595
Signed-off-by: Carl Schwan carl@carlschwan.eu