X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fenv.js;h=a0ae46509761b114681c20bb95be00c757ae47dc;hp=5b39c53b7b7299370e80927a80d9931f463f6c67;hb=e371ddf8abcb89013e20e6d0dd746adec344d0e5;hpb=055b6b0792ce7dc53d47af606b367c04b927c2ab diff --git a/_source/core/env.js b/_source/core/env.js index 5b39c53..a0ae465 100644 --- a/_source/core/env.js +++ b/_source/core/env.js @@ -75,11 +75,13 @@ if ( !CKEDITOR.env ) isCustomDomain : function() { + if ( !this.ie ) + return false; + var domain = document.domain, hostname = window.location.hostname; - return this.ie && - domain != hostname && + return domain != hostname && domain != ( '[' + hostname + ']' ); // IPv6 IP support (#5434) } };