We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 827f5b3 commit 0eebfb8Copy full SHA for 0eebfb8
1 file changed
Sprint-2/implement/querystring.js
@@ -22,7 +22,8 @@ function parseQueryString(queryString) {
22
const value = eqIndex === -1 ? "" : segment.slice(eqIndex + 1);
23
24
if (key) {
25
- queryParams[key] = value;
+ // Decode percent-encoded characters in both key and value
26
+ queryParams[decodeURIComponent(key)] = decodeURIComponent(value);
27
}
28
29
0 commit comments