Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: change encoding to decoding
As per the example, `querystring.parse` actually does URL decoding, not
encoding.
  • Loading branch information
thefourtheye committed Oct 1, 2017
commit bd6956bd00dc2d0f26b409c6eec0c869936352d5
2 changes: 1 addition & 1 deletion doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,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:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: s/does url/attempts URL/


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