node/doc/api
Gabriel Wicke b705b73e46 url: make query() consistent
Match the behavior of the slow path by setting url.query to an empty
object when the url contains no query, but query parsing is requested.

Also add a test for this case, and update the documents to clearly
reflect this behavior.

Fixes: https://github.com/joyent/node/issues/8332
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
2014-10-01 12:23:01 -07:00
..
_toc.markdown doc: document the tracing api 2014-02-05 11:49:02 -08:00
addons.markdown node: add signature to SET_PROTOTYPE_METHOD 2014-04-02 01:48:34 -07:00
all.markdown doc: document the tracing api 2014-02-05 11:49:02 -08:00
assert.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
buffer.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
child_process.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
cluster.markdown doc: fix brackets for optional parameters 2014-09-25 11:26:15 -07:00
console.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
crypto.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
debugger.markdown doc: Fix missing backtick in debugger doc 2013-12-30 11:44:13 -08:00
dgram.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
dns.markdown doc: fix brackets for optional parameters 2014-09-25 11:26:15 -07:00
documentation.markdown doc: modify documentation style about 'Stability: 5' 2013-01-17 13:51:21 +01:00
domain.markdown domains: deprecate domain.dispose(). 2013-08-27 11:05:14 -07:00
events.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
fs.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
globals.markdown doc: improve module documentation 2013-10-27 11:47:11 +01:00
http.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
https.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
index.markdown
modules.markdown doc: fix modules require.resolve documentation 2014-09-15 17:17:05 +04:00
net.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
os.markdown Merge remote-tracking branch 'upstream/v0.10' 2013-10-25 11:26:05 -07:00
path.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
process.markdown doc: note stdout and stderr special behaviors. 2014-10-01 11:45:23 -07:00
punycode.markdown doc: improve punycode.js documentation 2013-06-20 13:25:10 +02:00
querystring.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
readline.markdown doc: fix brackets for optional parameters 2014-09-25 11:26:15 -07:00
repl.markdown repl: REPLServer inherits from readline.Interface 2014-02-17 16:04:36 -08:00
smalloc.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
stream.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
string_decoder.markdown string_decoder: Add 'end' method, do base64 properly 2012-10-11 16:46:18 -07:00
synopsis.markdown doc refactor: synopsis 2012-02-29 16:04:54 -08:00
timers.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
tls.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
tracing.markdown src: move AsyncListener from process to tracing 2014-02-05 17:16:36 -08:00
tty.markdown doc: fix formatting in tty.markdown 2013-03-26 16:09:51 +01:00
url.markdown url: make query() consistent 2014-10-01 12:23:01 -07:00
util.markdown doc: fix brackets for optional parameters 2014-09-25 11:26:15 -07:00
vm.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
zlib.markdown doc: fix brackets for optional parameters 2014-09-25 11:26:15 -07:00