Add collector for Harborough District Council#171
Conversation
Closes #133 Generated with Codex CLI by Moley-Bot
Formatted by Moley-Bot
|
/gemini review |
There was a problem hiding this comment.
Code Review
The pull request adds a new collector for Harborough District Council. During the security audit, two medium-severity vulnerabilities were identified: a JSON injection vulnerability due to manual construction of a JSON payload using string interpolation, and an insecure transmission vulnerability due to the use of the HTTP protocol for the base URL. Both issues should be addressed to ensure the security and integrity of user data. Additionally, minor style guide violations regarding collection expression formatting and dictionary initialization were found, which should be corrected for consistency with the rest of the repository.
BinDays.Api.Collectors/Collectors/Councils/HarboroughDistrictCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/HarboroughDistrictCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/HarboroughDistrictCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/HarboroughDistrictCouncil.cs
Outdated
Show resolved
Hide resolved
|
@claude Please fix all unresolved PR comments, making sure to test after each change made. Please include the test output in your final comment update. |
|
Claude finished @BadgerHobbs's task in 3m 28s —— View job Fixing PR Review CommentsAll unresolved PR review comments have been addressed and the integration test passes.
Changes MadeIn
Test Output| |
- Fix _baseUrl from http to https (security) - Replace JSON string interpolation with JsonSerializer.Serialize to prevent injection - Fix collection expression bracket formatting - Use target-typed new() for Dictionary initialization - Add summary docstrings to private const fields Co-authored-by: Andrew Riggs <BadgerHobbs@users.noreply.github.com>
Summary
This PR adds a new bin collection data collector for Harborough District Council.
ICollectorinterfaceCloses #133
Test Summary
Bin Collections Page Screenshot
Generated automatically by Moley-Bot using Codex CLI