Hyperlinked ssl error page not useful for wildcards. b=432491 r=gavin a=beltzner

This commit is contained in:
johnath@mozilla.com 2008-05-07 13:39:53 -07:00
Родитель 3fcd67d676
Коммит 806e648cde
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -223,6 +223,11 @@
var thisHost = document.location.hostname;
var proto = document.location.protocol;
// If okHost is a wildcard domain ("*.example.com") let's
// use "www" instead. "*.example.com" isn't going to
// get anyone anywhere useful. bug 432491
okHost = okHost.replace(/^\*\./, "www.");
/* case #1:
* example.com uses an invalid security certificate.
*