URL query strings: fix bug
URL query strings: fix bug: a task in smol-software-harbor (Harbor dataset). buildQuery() in src/query.js produces broken URLs when a value contains & , = , ? or / : it encodes with the wrong function, so those characters are left as they are. Keys and values must be encoded as URI components. Fix…
The task
`buildQuery()` in `src/query.js` produces broken URLs when a value contains `&`, `=`, `?` or `/`: it encodes with the wrong function, so those characters are left as they are. Keys and values must be encoded as URI components. Fix it and run `node --test test/*.test.js`.
Part of efederici/smol-software-harbor.