From 85f18e36f597fc5f71030d3c002c98650264692c Mon Sep 17 00:00:00 2001 From: tka Date: Fri, 3 May 2013 15:24:18 +0800 Subject: [PATCH] when use nodejs load remote image with fullpath sometime use server generate image, and passing parameter in url so when send request should use full path, not only pathname --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.js b/src/node.js index 6e3f00e4..9bdbad34 100644 --- a/src/node.js +++ b/src/node.js @@ -27,7 +27,7 @@ var req = reqHandler.request({ hostname: oURL.hostname, port: oURL.port, - path: oURL.pathname, + path: oURL.path, method: 'GET' }, function(response){ var body = "";