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