-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Labels
Description
Bug Description
There are two critical logic errors in how the GitHub Search API queries are constructed in scrumHelper.js:
- Double Plus Encoding: When an organization is specified, the query adds an extra
+sign resulting in++org%3A{orgName}. This is malformed syntax for the GitHub API.
Steps to Reproduce
Steps to reproduce the behavior:
- Open settings.
- OR enable "Use Repository Filter" and select a repository name.
- Click "Generate Report".
- Check in Network tab of chrome dev tools to see the malformed query.
Expected Behavior
- The organization query should be correctly formatted with a single
+.
Additional Context
The fix involves ensuring orgPart does not have a leading + before being concatenated.
Contribution Checklist
- I have searched existing issues to ensure this bug hasn't been reported
- I have provided clear reproduction steps
- I have included relevant environment details
- I have described both expected and actual behavior
Reactions are currently unavailable