diff options
author | Sakthipriyan Vairamani (thefourtheye) <thechargingvolcano@gmail.com> | 2017-10-01 07:33:06 +0530 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-10-02 09:00:11 -0700 |
commit | 886554208f3c6233c9c09759cf79491fc2b90397 (patch) | |
tree | e3ab1da19da40fd50e5388595e65a03dc0b6f473 /doc | |
parent | a6b47a29f2035de3342b917eacb4607a4f6a5f00 (diff) | |
download | android-node-v8-886554208f3c6233c9c09759cf79491fc2b90397.tar.gz android-node-v8-886554208f3c6233c9c09759cf79491fc2b90397.tar.bz2 android-node-v8-886554208f3c6233c9c09759cf79491fc2b90397.zip |
doc: change encoding to decoding
As per the example, `querystring.parse` actually does URL decoding, not
encoding.
PR-URL: https://github.com/nodejs/node/pull/15706
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/deprecations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index d0754285a4..257b5afb65 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -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: ```sh > querystring.parse('%E5%A5%BD=1', '\n', '='); |