Skip to content

Pathname double backslashes on windows #22

@ricardocasares

Description

@ricardocasares

I'm having problems with a small app on express that makes requests to JIRA API using scoped. The problem is that, on windows, the app crashes trying to parse JSON from an empty response.

I don't know why the response comes empty, but I'm suspicious about the fact that, on windows, scoped builds the uri path with double backslashes as noted here:

Good URI on Linux: https://gist.github.com/ricardocasares/9486926#file-response-on-linux-L120

Bad URI on Windows: https://gist.github.com/ricardocasares/9486926#file-response-on-windows-L120

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions