Closed Araxeus closed 1 month ago
the \ is coming from the filepath of a native library file node.napi.glibc.node
but the slash is being included in this unfortunately
you could just bruteforce format before printing the link, replacing \
with /
(or even better, format only the problematic part in the middle of the url - notice the first and last slashes are /
)
What version of Bun is running?
1.1.21-canary.1+5a5f3d6b3
What platform is your computer?
Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
Crash on windows
What is the expected behavior?
I get a link that i can click to open, i.e
https://bun.report/1.1.21/wa25a5f3d6AiogggDCqB/node.napi.glibc.nodesjZCqB/node.napi.glibc.node+jjCCqB/node.napi.glibc.nodeo/7Bw6sk0C0q+psB__A2AwK
What do you see instead?
A link with
\
in the middle instead of/
, thus i can't click the full link because the terminal doesn't understand ithttps://bun.report/1.1.21/wa25a5f3d6AiogggDCqB\node.napi.glibc.nodesjZCqB\node.napi.glibc.node+jjCCqB\node.napi.glibc.nodeo/7Bw6sk0C0q+psB__A2AwK
Additional information
No response