sidequest
sidequest copied to clipboard
[Bug] Windows paths containing spaces are incorrectly decoded in scheduled jobs
On Windows, if the path contains a space in it (standard paths like Program Files for example) sidequestjs will extract a path from the stacktrace containing an encoded path (Program%20Files) however when it comes time to resolve the module for the job queue it does not account for the string having been previously encoded i.e. Program%20Files becomes Program%2520Files.
To recreate:
- Create a node app
- Install sidequestjs
- Create a task and register it with
.schedule - Wait for it to run
- See error in logs stating path resolution failed
If this is unavoidable, the docs should at least recommend manualJobResolution be set to true to circumvent the issue.
Confirmed as a bug. I'm already writing the fix. Thanks for your contribution!