Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…uery string and hash were being discarded by nl.js.
  • Loading branch information
jonjlee committed Mar 27, 2011
1 parent d233e9c commit f0c4f1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Bug Fixes:
* config: Add 'nodeload/config' module for configuring global parameters
* multiloop: polling time for next change in load or user profiles was always 1 second
* stats: Fix one-off error in Histogram.percentile wouldn't return the greatest number if it is greater than the number of buckets (i.e. in extra[])
* nl.js: #issue/5: nl.js discarded URL query string and hash

## v0.2.0 (2010/12/01) ##

Expand Down
2 changes: 2 additions & 0 deletions lib/nl/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ parser.on(2, function (value) {
testConfig.host = testConfig.url.hostname || testConfig.host;
testConfig.port = Number(testConfig.url.port) || testConfig.port;
testConfig.path = testConfig.url.pathname || testConfig.path;
testConfig.path += testConfig.url.search || '';
testConfig.path += testConfig.url.hash || '';
});

parser.on(
Expand Down
3 changes: 1 addition & 2 deletions nodeload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f0c4f1d

Please sign in to comment.