diff options
author | h7lin <i@h7lin.com> | 2015-02-13 11:59:11 +0800 |
---|---|---|
committer | Julien Gilli <julien.gilli@joyent.com> | 2015-02-25 12:00:44 -0800 |
commit | f1bf88395926d84fb75cc055849624caad8f0144 (patch) | |
tree | fa625689cbb4694a7ea226018613911ee216771a | |
parent | 08a1192478ed84422902d59a8bfe056ff88cc88d (diff) | |
download | node-f1bf88395926d84fb75cc055849624caad8f0144.tar.gz |
doc: fix default value of opts.decodeURIComponent
In the documentation for querystring.parse, the documentation mentions
that the default value for options.decodeURIComponent is the
decodeURIComponent function, but it's actually the querystring.unescape
function.
PR-URL: https://github.com/joyent/node/pull/9259
Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
-rw-r--r-- | doc/api/querystring.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/querystring.markdown b/doc/api/querystring.markdown index e907c4e7d..ed1ce9f7c 100644 --- a/doc/api/querystring.markdown +++ b/doc/api/querystring.markdown @@ -42,7 +42,7 @@ characters. Options object may contain `maxKeys` property (equal to 1000 by default), it'll be used to limit processed keys. Set it to 0 to remove key count limitation. -Options object may contain `decodeURIComponent` property (`decodeURIComponent` by default), +Options object may contain `decodeURIComponent` property (`querystring.unescape` by default), it can be used to decode `non-utf8` encoding string if necessary. Example: |