From d68c99eec74dc5ae72e973c953b7a67c77bed08b Mon Sep 17 00:00:00 2001 From: Antonin Hildebrand Date: Wed, 17 Aug 2016 21:13:12 +0200 Subject: [PATCH] devtools: properly decode ws query param --- resources/unpacked/devtools/front_end/main/Main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/unpacked/devtools/front_end/main/Main.js b/resources/unpacked/devtools/front_end/main/Main.js index c4acfdeb50..6e2cc19200 100644 --- a/resources/unpacked/devtools/front_end/main/Main.js +++ b/resources/unpacked/devtools/front_end/main/Main.js @@ -267,7 +267,7 @@ WebInspector.Main.prototype = { console.timeStamp("Main._createConnection"); if (Runtime.queryParam("ws")) { - var ws = "ws://" + Runtime.queryParam("ws"); + var ws = "ws://" + decodeURIComponent(Runtime.queryParam("ws")); WebInspector.WebSocketConnection.Create(ws, this._connectionEstablished.bind(this)); return; }