You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd /tmp
mkdir ' !"$%&'\''()*+,-.0123456789:;<=>@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'
cd ' !"$%&'\''()*+,-.0123456789:;<=>@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'
npm pack
andrew-aladjev
changed the title
[BUG] Failed to decode path names with valid symbols
[BUG] Failed to decode path name with valid symbols for path
Sep 12, 2024
andrew-aladjev
changed the title
[BUG] Failed to decode path name with valid symbols for path
[BUG] Failed to decode path name with valid symbols
Sep 12, 2024
Can you please describe what does let resolvedPath = decodeURIComponent(resolvedUrl.pathname) mean? pathname can include any ascii symbol except / and it can't be decoded using decodeURIComponent. Why are you using decodeURIComponent here?
Is there an existing issue for this?
Current Behavior
Parent issue: npm/cli#7779
It is not possible to work with symbols available in path with URI. I don't know why you are trying to use URI encode and decode.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
The text was updated successfully, but these errors were encountered: