-
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
[$500] Chat - App allows to open any invalid email profile details using mention URL #28191
Comments
Triggered auto assignment to @johncschuster ( |
Job added to Upwork: https://www.upwork.com/jobs/~016acedce6ab891123 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @JmillsExpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Proposal from @dhanashree-sawantPlease re-state the problem that we are trying to solve in this issue.We are solving the problem of app allowing to open profile details of invalid contact using mention result What is the root cause of that problem?On What changes do you think we should make in order to solve the problem?Add new boolean which will check whether contact is valid contact or not and pass it in
Assign that boolean to
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Invalid logins also are displayed in details page when the url is edited What is the root cause of that problem?We are not checking if the Line 130 in 4ea4a55
to show FullPageNotFoundView .
What changes do you think we should make in order to solve the problem?We should get the login param from the url and check if it is a valid phone or email by adding const parsedPhoneNumber = parsePhoneNumber(login); and modifying this condition to the <FullPageNotFoundView shouldShow={_.isEmpty(login) || (!parsedPhoneNumber?.possible && !Str.isValidEmail(login))}> We are using What alternative solutions did you explore? (Optional) |
|
@dukenv0307 can you share link to that discussion? |
Didn't we decide to not show the page for optimistic users only? |
We're close to accountID based mention implementation, which means Details page will be deprecated soon. |
Thanks, @situchan! In that case, I'll go ahead and close the issue. If anyone disagrees, feel free to argue your case! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
App should display 'Hmm its not here' page when we try to open invalid contact profile details using mention URL
Actual Result:
App allows to open any invalid contact profile details on using mention URL structure
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.74-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
app.allows.invalid.contact.profile.using.mention.URL.windows.chrome.mp4
Recording.1636.mp4
allows.invalid.email.contact.profile.details.IOS.1.mov
allows.invalid.email.contact.profile.details.IOS.mov
app.allows.invalid.contact.profile.using.mention.URL.android.chrome.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695485451642119
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: