diff --git a/src/sunstone/public/app/console/vnc.js b/src/sunstone/public/app/console/vnc.js index 5e4e05d3cb..231bb49cd0 100644 --- a/src/sunstone/public/app/console/vnc.js +++ b/src/sunstone/public/app/console/vnc.js @@ -29,19 +29,31 @@ define(function(require) { require('vnc-keysym'); var rfb; + var encrypt = WebUtil.getQueryVar('encrypt', (window.location.protocol === "https:")); + var repeaterID = WebUtil.getQueryVar('repeaterID', ''); + var true_color = WebUtil.getQueryVar('true_color', true); + var local_cursor = WebUtil.getQueryVar('cursor', true); + var shared = WebUtil.getQueryVar('shared', true); + var view_only = WebUtil.getQueryVar('view_only', false); + var host = WebUtil.getQueryVar('host', window.location.hostname); + var port = WebUtil.getQueryVar('port', window.location.port); + var token = WebUtil.getQueryVar('token', null); + var path = WebUtil.getQueryVar('path', 'websockify'); function passwordRequired(rfb) { var msg; - msg = '