-
Notifications
You must be signed in to change notification settings - Fork 7
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
fix: [DHIS2-17324] Ensure standard report id is in the right format #393
Conversation
🚀 Deployed on https://pr-393--dhis2-reports.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR 🙏. Looks good to me!
One thing I noticed: the ticket says that the GET request could currently be sent to /arbitrary/same-origin/path/data.html
, but the app seems to fire a request to reports/arbitrary/same-origin/path/data.html
:
Line 447 in 940f8af
api.get(`reports/${id}/data.html`, { |
I think it's good to have this check client-side, but I would also have expected the backend to do some sanitization of the request and check that it the "id" in reports/${id}/data.html
was valid?
We talked it through on slack. |
LGTM from QA perspective |
## [100.0.60](v100.0.59...v100.0.60) (2024-08-21) ### Bug Fixes * [DHIS2-17324] Ensure standard report id is in the right format ([#393](#393)) ([12b9277](12b9277))
🎉 This PR is included in version 100.0.60 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.