mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure uri is properly encoded before passing to got module
Fixes #3080
This commit is contained in:
parent
79d9c83a2d
commit
7b106e5650
@ -134,7 +134,7 @@ in your Node-RED user directory (${RED.settings.userDir}).
|
||||
url = "http://"+url;
|
||||
}
|
||||
}
|
||||
|
||||
url = encodeURI(url);
|
||||
|
||||
var method = nodeMethod.toUpperCase() || "GET";
|
||||
if (msg.method && n.method && (n.method !== "use")) { // warn if override option not set
|
||||
|
Loading…
Reference in New Issue
Block a user