Closed tmarshall closed 9 years ago
+1 this started happening on node v0.11.14 works just fine on v0.11.13
lib/auth.js#L208
Object.keys(url.query).forEach(function (key) {
Object.keys(url.query || {}).forEach(function (key) {
fixes it
here for everyone else
$ npm install --save http://github.com/kilianc/knox/tarball/features/v0.11.14
Is there any chance this bug fix can be pushed to the master branch?
No, don't use unstable Node.
@domenic that's a strong statement, while not supporting unstable node in third party libraries is ok, I think that as community members we are doing everyone a favor discovering new bugs and testing new versions of node.
Yep, and the bug was discovered in Node and fixed, so no need to change Knox.
Great thanks for your feedbacks guys
On Thu, Dec 4, 2014 at 7:00 AM, Domenic Denicola notifications@github.com wrote:
Yep, and the bug was discovered in Node and fixed, so no need to change Knox.
— Reply to this email directly or view it on GitHub https://github.com/LearnBoost/knox/issues/249#issuecomment-65643684.
PG
Do you have a reference to the bug on Node itself? I'm seeing similar behaviour elsewhere.
My tests are working when using v0.10, but break in v0.11
I logged
url
in/lib/auth.js
'scanonicalizeResource()
0.10:
0.11:
Object.keys(url.query)
expects{}
at minimum