-
-
Notifications
You must be signed in to change notification settings - Fork 453
Closed
Description
Version: v7.1.1
Crash occured when # kun%ea%ba%5a%ba is parsed by queryString.parse
This hash is valid and should be parsed correctly as { ' kun%ea%ba%5a%ba': null }
For example in chrome's development tools' console the url https://google.com# kun%ea%ba%5a%ba can be parsed without problems:
const url = new URL("https://google.com# kun%ea%ba%5a%ba");
url
Code to reproduce
const queryString = require('query-string');
const parsed = queryString.parse("# kun%ea%ba%5a%ba");
console.log(parsed);
Results
TypeError: decodeComponents(...).join is not a function
Metadata
Metadata
Assignees
Labels
No labels
