Skip to content

Unable to send password messages if the contact name retrieved from contacts.google.com includes emoji #5308

@martgil

Description

@martgil

Error message:

--------- BUG REPORT ----------

[name]
composer: send: bad request (errMsg: Bad recipient)

[stack]
    at BrowserExtension.prepareBugReport (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/js/common/browser/browser-extension.js:8:44)
    at ComposeErrModule.handleSendErr (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/chrome/elements/compose-modules/compose-err-module.js:115:61)
    at async ComposeSendBtnModule.extractProcessSendMsg (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/chrome/elements/compose-modules/compose-send-btn-module.js:117:21)

url: chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/chrome/elements/compose.htm?frameId=frame_FyyyfGeQfc&acctEmail=[SCRUBBED]&parentTabId=241918943%3A0


[error]
{
  "status": 400,
  "url": "https://flowcrypt.com/shared-tenant-fes/api/v1/message",
  "responseText": "{\"code\":400,\"message\":\"Bad recipient\",\"details\":\"Invalid RFC 5322 mailbox User Name⭐️ Real Name <user@corp.test>\"}",
  "statusText": "Bad Request",
  "resMsg": "Bad recipient",
  "resDetails": "Invalid RFC 5322 mailbox User Name⭐️ Real Name <user@corp.test>"
}

[details]
{}

Steps to reproduce:

  1. Create a contact at contacts.google.com and name it Example ⭐️ Name, fill in the email address field and save.
  2. Use FlowCrypt's secure compose and compose a password protected message for Example ⭐️ Name. Click enable google contact search and grant the required permission.
  3. Finish composing the secure email, set a password, and send the email and you'll get the following error:
image 4. Click 'ok' and you'll get the following stack trace above when you are about to report the issue.

Reference: https://mail.google.com/mail/u/human@flowcrypt.com/#inbox/FMfcgzGtwDDWqBNzHzXpZhWdNvJlBXNs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions