Skip to content

[Bug] Windows paths containing spaces are incorrectly decoded in scheduled jobs #207

Description

@matthew-m-tan

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:

  1. Create a node app
  2. Install sidequestjs
  3. Create a task and register it with .schedule
  4. Wait for it to run
  5. See error in logs stating path resolution failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions