Skip to content

Commit

Permalink
doc: change encoding to decoding
Browse files Browse the repository at this point in the history
As per the example, `querystring.parse` actually does URL decoding, not
encoding.

PR-URL: #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]>
  • Loading branch information
thefourtheye authored and MylesBorins committed Oct 11, 2017
1 parent cf579ea commit 54a43a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ querystring.parse(str, '\n', '=');
```

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

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

0 comments on commit 54a43a6

Please sign in to comment.