-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[PM-814] Breach Report Escape Characters #16264
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
base: main
Are you sure you want to change the base?
Conversation
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16264 +/- ##
==========================================
+ Coverage 37.27% 37.29% +0.01%
==========================================
Files 3373 3373
Lines 96665 96666 +1
Branches 14587 14587
==========================================
+ Hits 36033 36049 +16
+ Misses 59058 59043 -15
Partials 1574 1574 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Requesting a review from @bitwarden/team-data-insights-and-reporting-dev as no automatic codeowner was assigned.
Based on the comment at the top of the api.service, all methods other than send()
should be extracted into their own service. This would also ensure code-ownership would be accurately assigned for review, whenever the next changes for this API are made.
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.
Scope for capturing api service method extraction will be captured in this ticket, PM-25417
…port-escape-char merge main
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.
Approving as my comment will be addressed by future work: #16264 (review)
Had to fix the spec file sorry. |
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-814
📔 Objective
Encode HIBP Breaches URL before using it for server request.
Hashtag acts as escape char in Breach Report. Emails with # return unrelated results. For example, running the report for "123#" returns same results as "123#[email protected]"
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes