Closed lanitochka17 closed 5 months ago
Triggered auto assignment to @twisterdotcom (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
@twisterdotcom 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
We think that this bug might be related to #wave-collect - Release 1
Not here page shows up when clicking on tax rate with / symbol
https://github.com/Expensify/App/blob/8fa9894a72118b401b855d825d2b3e059d4feb25/src/ROUTES.ts#L648
encodeURI
is used to parse the tax name in URL. But encodeURI
does not escape special characters including /
. Reference [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI#:~:text=encodeURI()%20escapes,0%E2%80%939%20%2D%20_%20.%20!%20~%20*%20%27%20(%20)%0A%0A%3B%20/%20%3F%20%3A%20%40%20%26%20%3D%20%2B%20%24%20%2C%20%23).
That causes the tax name to be incorrect and then we cannot retrieve the tax rate and eventually show not found page.
encodeURIComponent
for encoding.linkingConfig
, use decodeURIComponent
for decoding taxID
, following what we've done for categories:We should apply this to all other tax routes like this and this.
If we don't want to allow special characters in tax name, we should modify tax name validation function to block those.
I recreated this. It's clearly to do with it affecting the URL yes.
Job added to Upwork: https://www.upwork.com/jobs/~011b3c5959006e7d8f
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (External
)
@gijoe0295 Thanks for the proposal. Your RCA is correct. The solution looks good to me π
π π π C+ reviewed Link to proposal
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@stitesExpensify can you please review https://github.com/Expensify/App/issues/39614#issuecomment-2040795180
π£ @s77rt π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @gijoe0295 π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.62-17 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-04-25. :confetti_ball:
For reference, here are some details about the assignees on this issue:
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:
If you havenβt already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.60-1 Reproducible in staging?: Y Reproducible in production?: Y 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:
Tax rate editor opens without issue
Actual Result:
Not here page shows up when clicking on tax rate with / symbol
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/4f68c2b6-75c6-4ccd-ac67-aceacca30a78
View all open jobs on GitHub
Upwork Automation - Do Not Edit