tomas/needle — comment on commit 04f7762097a63a86f0bd78ad3d175b42cfc1793d
File: lib/needle.js line 135
By tvishwanadha:

I think string + undefined = undefined. Maybe remote.pathname + (remote.search || '')