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