Skip to content

Commit 8865542

Browse files
thefourtheyejasnell
authored andcommitted
doc: change encoding to decoding
As per the example, `querystring.parse` actually does URL decoding, not encoding. PR-URL: nodejs#15706 Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent a6b47a2 commit 8865542

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/deprecations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ querystring.parse(str, '\n', '=');
675675
```
676676

677677
*Note*: This function is not completely equivalent to `querystring.parse()`. One
678-
difference is that `querystring.parse()` does url encoding:
678+
difference is that `querystring.parse()` does url decoding:
679679

680680
```sh
681681
> querystring.parse('%E5%A5%BD=1', '\n', '=');

0 commit comments

Comments
 (0)