]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
work around ipv6 browser inconsistencies
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 26 May 2015 14:09:38 +0000 (16:09 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 27 May 2015 06:28:54 +0000 (08:28 +0200)
commitaa0819a8a5a4dbc14621b4109c98e4098a395b51
treea5f6ee634e154db411c24371e5b293ea61238039
parent0e007a5dcf200d200e1b289252e5230377bc9f6f
work around ipv6 browser inconsistencies

Browsers seem to disagree on whether window.location.hostname
shouldinclude the brackets around an ipv6 address.
Adding PVE.Utils.windowHostname() to always strip them away.
www/manager/Utils.js
www/manager5/Utils.js