-
Notifications
You must be signed in to change notification settings - Fork 53
#5310 Fixes for attachments which contain emojis in their names #5382
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
02a680a
update emailjs-mime-codec.js
sosnovsky a202c8f
Merge branch 'master' into 5310-attachment-emoji
sosnovsky 6544030
Merge branch 'master' into 5310-attachment-emoji
sosnovsky c192157
Merge branch 'master' into 5310-attachment-emoji
sosnovsky 05d8b4d
Merge branch 'master' into 5310-attachment-emoji
sosnovsky 4ac45a6
replace emoji images with text emojis
sosnovsky 2a78117
add test for sending attachment with emoji
sosnovsky 9c338ba
wip
sosnovsky 7d82aa3
wip
sosnovsky 79f4479
add live test
sosnovsky bd480c2
Merge branch 'master' into 5310-attachment-emoji-live-test
sosnovsky 754c0b1
wip
sosnovsky a9ce2a9
wip
sosnovsky d01ae3a
wip
sosnovsky 2961fc9
wip
sosnovsky d5c1f95
Merge branch 'master' into 5310-attachment-emoji-live-test
sosnovsky 8b5cb78
wip
sosnovsky 210ab78
wip
sosnovsky 12cec88
Merge branch 'master' into 5310-attachment-emoji-live-test
sosnovsky 405b31b
puppeteer 21.0.3
sosnovsky ee729f8
wip
sosnovsky c04a464
wip
sosnovsky 0b4bb54
wip
sosnovsky 4264d35
wip
sosnovsky 3051ca5
wip
sosnovsky fbae72f
use updated methods from libmime
sosnovsky f3d2ceb
fix
sosnovsky 9f5d682
update tests
sosnovsky 9a6823e
Merge branch 'master' into 5310-attachment-emoji-live-test
sosnovsky 37f3ab0
Merge branch 'master' into 5310-attachment-emoji-live-test
sosnovsky b1e4285
fix
sosnovsky 0db40ae
Merge branch 'master' into 5310-attachment-emoji-live-test
sosnovsky 7b86beb
wip
sosnovsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| some text |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice - I tried to find a reference for regex in Kotlin but I do not see any relevant documentation/reference material that Kotlin supports \p{Emoji_Presentation} or similar, unlike javascript which has rich support with it. So with that, we might end up using emoji-unicode ranges which again may contain an incomplete range of emojis.
@sosnovsky Do you allow me to fix both #5308 and #5309 by reusing the regex on line 713?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I tried to use the same regex on FES for allowing emojis, but unfortunately Kotlin doesn't support these
\pkeywords.Let me finish this PR, then I'll check possible solution for #5308 and #5309 on FES side, and if there won't be a simple way to allow emojis and other symbols in recipient names - I'll notify you that you can work on stripping emojis from recipient names on browser extension side.