Closed CrabDude closed 10 years ago
Can you please add some tests in test/util.js? That way, we codify this behavior and prevent the logic from breaking in future changes. Thanks!
Done. Failing before the fix is added in 0.8.26 and passing afterwards.
Broken in 0.8.26+.
http.request(options)
does not support the 'search' or 'qs' fields, so the '?' is passed in the path. However, inurlFromHttpRequestOptions
we use the path (with '?') forpathname
inurl.format
which gets encoded in 0.8.26+ resulting in a fixture miss.