Skip to content

[HOLD for payment 2023-04-03] [$1000] HTML characters are converted in chat (they shouldn't be converted) #15508

Closed

Description

@kavimuru

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Enter < or any other HTML character in the compose box
  2. Click on send

Expected Result

<should remain the same (i.e. we don't want to convert HTML characters)

Actual Result

&lt; becomes the < sign

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.2.78-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:

Screen.Recording.2023-02-25.at.2.46.06.PM.mov
Recording.1597.mp4

Expensify/Expensify Issue URL:
Issue reported by: @esh-g
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1677316598380029

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~012cc7a7ec930277c6
  • Upwork Job ID: 1631456392901574656
  • Last Price Increase: 2023-03-14

Activity

  1. added
    Daily
    Bug
    on Feb 27, 2023
  2. MelvinBot commented on Feb 27, 2023

    @MelvinBot
    Contributor

    Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. locked and limited conversation to collaborators on Feb 27, 2023
  4. MelvinBot commented on Feb 27, 2023

    @MelvinBot
    Contributor

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  5. jliexpensify commented on Feb 28, 2023

    @jliexpensify
    Contributor

    I don't think this is a bug as typing &lt; should convert to <

    Querying here.

  6. jliexpensify commented on Feb 28, 2023

    @jliexpensify
    Contributor

    Asking our wider engineering team for a second opinion, thanks for your patience!

  7. aldo-expensify commented on Feb 28, 2023

    @aldo-expensify
    Contributor

    Somewhat related to: #15131

  8. changed the title [-] HTML characters are not escaped in chat[/-] [+] HTML characters are converted in chat (they shouldn't be converted)[/+] on Mar 3, 2023
  9. jliexpensify commented on Mar 3, 2023

    @jliexpensify
    Contributor

    Updated the Slack thread, sending to Upworks.

  10. added
    External
    on Mar 3, 2023
  11. unlocked this conversation on Mar 3, 2023
  12. 91 remaining items

  13. yuwenmemon commented on Mar 24, 2023

    @yuwenmemon
    Contributor

    Correctomundo!

  14. added
    Weekly
    Awaiting Payment
    and removed
    Daily
    on Mar 27, 2023
  15. changed the title [-][$1000] HTML characters are converted in chat (they shouldn't be converted)[/-] [+][HOLD for payment 2023-04-03] [$1000] HTML characters are converted in chat (they shouldn't be converted)[/+] on Mar 27, 2023
  16. removed
    Reviewing
    on Mar 27, 2023
  17. MelvinBot commented on Mar 27, 2023

    @MelvinBot
    Contributor

    Reviewing label has been removed, please complete the "BugZero Checklist".

  18. MelvinBot commented on Mar 27, 2023

    @MelvinBot
    Contributor

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.89-0 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 2023-04-03. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  19. MelvinBot commented on Mar 27, 2023

    @MelvinBot
    Contributor

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@s77rt / @yuwenmemon] The PR that introduced the bug has been identified. Link to the PR:
    • [@s77rt / @yuwenmemon] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@s77rt / @yuwenmemon] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@jliexpensify] Determine if we should create a regression test for this bug.
    • [@s77rt] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon: https://github.com/Expensify/Expensify/issues/273028
  20. s77rt commented on Mar 27, 2023

    @s77rt
    Member

    Regression Test Proposal

    1. Open any chat
    2. Send &amp; as a message
    3. Verify the sent text shows &amp;
  21. pecanoro commented on Mar 29, 2023

    @pecanoro
    Contributor

    I was going to close this issue since the problem was almost the same as here and got fixed already, but I am wondering if that one deserves the reporting bonus instead of this one since the other one was created before.

  22. jliexpensify commented on Mar 29, 2023

    @jliexpensify
    Contributor

    I personally think both issues deserve the reporting bonus - the contributors did both report valid bugs (even if they're similar), and the reporting bonus isn't large (only $250). We can also bring this up in #bug-zero if you wanted a second opinion?

  23. jliexpensify commented on Apr 3, 2023

    @jliexpensify
    Contributor

    Looks like there are no regressions, so creating the GH for regression test and paying everyone.

  24. jliexpensify commented on Apr 3, 2023

    @jliexpensify
    Contributor

    All paid, and job closed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions