зеркало из https://github.com/mozilla/gecko-dev.git
Hyperlinked ssl error page not useful for wildcards. b=432491 r=gavin a=beltzner
This commit is contained in:
Родитель
3fcd67d676
Коммит
806e648cde
|
@ -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.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче