Skip to content

Commit

Permalink
devtools: properly decode ws query param
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Aug 17, 2016
1 parent 86fa021 commit d68c99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/unpacked/devtools/front_end/main/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d68c99e

Please sign in to comment.