-
-
Notifications
You must be signed in to change notification settings - Fork 202
Fix: DevRank Spider 422 Error on Complex Queries #9103
Copy link
Copy link
Closed
Labels
Description
The DevRank Spider fails with REST Error: 422 Unprocessable Entity when running the "Bio Signals" strategy. This is because the search query string containing spaces and operators (OR) is not URL-encoded before being passed to the GitHub API.
To Reproduce:
- Run
node apps/devrank/services/cli.mjs spider - Select "Discovery: Bio Signals" (or wait for it to be picked randomly)
- Observe crash.
Proposed Fix:
Use encodeURIComponent() on the query string in apps/devrank/services/Spider.mjs.
Reactions are currently unavailable