-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2024-12-30] [$250] mWeb - Workspace - Invitation with apostrophe received by SMS is converted to uni message #51424
Comments
Triggered auto assignment to @zanyrenney ( |
@zanyrenney FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-10-25 03:06:59 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb - Workspace - Invitation with apostrophe received by SMS is converted to uni message What is the root cause of that problem?When sending the invitation we pass the welcome note to BE with App/src/libs/actions/Policy/Member.ts Line 676 in 66112d1
Inside Parser.replace it will replace any these symbols to html code if shouldEscapeText is true, see here and here
const htmlUnescapes = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
''': "'",
'`': '`',
' ': ' ',
}; The default of What changes do you think we should make in order to solve the problem?We should pass welcomeNote: Parser.replace(welcomeNote, {
shouldEscapeText: false,
}), What alternative solutions did you explore? (Optional)We can also pass the const parsedPhoneNumber = PhoneNumber.parsePhoneNumber(login);
const isPhoneNumber = parsedPhoneNumber.possible && !Str.isValidEmail(login);
...
welcomeNote: Parser.replace(welcomeNote, {
shouldEscapeText: isPhoneNumber ? false : true,
}), |
Hmm this is a weird one for sure! Quite niche but we should fix. |
Job added to Upwork: https://www.upwork.com/jobs/~021850952418561366923 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Looking for proposals here. |
@abdulrahuman5196, @zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@abdulrahuman5196, @zanyrenney 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@abdulrahuman5196 Can you please review my proposal above ^ |
Hi, I was OOO couple of days, checking now |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@abdulrahuman5196, @zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Checking now again |
@NJ-2020 's proposal here #51424 (comment) looks good and works well. 🎀 👀 🎀 |
@abdulrahuman5196 Done |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.77-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-12-30. 🎊 For reference, here are some details about the assignees on this issue:
|
@abdulrahuman5196 @zanyrenney @abdulrahuman5196 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@yuwenmemon, @abdulrahuman5196, @zanyrenney, @NJ-2020 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
This is ready for payment |
Not quite yet @NJ-2020 @abdulrahuman5196 please can you complete the checklist here and ping me when thats done so I can issue payouts. #51424 (comment) Thanks! |
I have DM'd @abdulrahuman5196 |
BugZero Checklist:
Source of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:Test:
Do we agree 👍 or 👎 |
@zanyrenney Sorry for the delay. Added the checklist. |
Thank you @abdulrahuman5196 |
Payment summary@abdulrahuman5196 requires payment through NewDot Manual Requests - please request 250USD Thanks! |
$250 approved for @abdulrahuman5196 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.53-0
Reproducible in staging?: Y
Reproducible in production?: Y
**If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:**N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The SMS received with the invitation to the workspace should be displayed excatly as the user writed it, even when it has an apostrophe on it
Actual Result:
Invitation message received by SMS is converted to uni message when it contains an apostrophe
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6617613_1727457212525.UNI.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: