From b3bc9ee6fa6e5048fe071cc20ffaff8fa7be8904 Mon Sep 17 00:00:00 2001 From: Thomas Kerkmann Date: Thu, 28 Sep 2017 14:32:34 +0200 Subject: [PATCH] decode encoded URL parameter both actions then allow passing URL parameter to site --- lib/webshot.phantom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webshot.phantom.js b/lib/webshot.phantom.js index 7147cdb..99583df 100644 --- a/lib/webshot.phantom.js +++ b/lib/webshot.phantom.js @@ -5,7 +5,7 @@ var system = require('system') // Read in arguments var options = JSON.parse(system.args[1]); -var site = options.site; +var site = options.site.replace(/%26/g, '&'); // options.site; var path = options.path; var streaming = options.streaming;