]> git.proxmox.com Git - mirror_novnc.git/commit - vnc_auto.html
Add hash fragment as an optional method to supply config variables.
authorGanesh Varadarajan <ganesh@coriolis.co.in>
Thu, 22 Oct 2015 14:27:07 +0000 (19:57 +0530)
committerGanesh Varadarajan <ganesh@coriolis.co.in>
Fri, 23 Oct 2015 13:24:08 +0000 (18:54 +0530)
commit494b407a0a54c43a395110f99141e8123c96e2a4
tree97d550233aaca954803ed6003e6d635af68c7724
parent6a90803feb124791960e3962e328aa3cfb729aeb
Add hash fragment as an optional method to supply config variables.

Any config variable like host, port, password, token may be
specified either in the query string (like now), or in the URL hash
fragment. In case a given variable is present in both, the value in the
fragment takes precedence. Supplying variables in the fragment avoids
leaking them to the web server hosting the noVNC viewer HTML.
include/ui.js
include/webutil.js
vnc.html
vnc_auto.html