JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.2.2
[ckeditor.git] / _source / core / env.js
index b289538..5b39c53 100644 (file)
@@ -75,7 +75,12 @@ if ( !CKEDITOR.env )
 \r
                        isCustomDomain : function()\r
                        {\r
-                               return this.ie && document.domain != window.location.hostname;\r
+                               var domain = document.domain,\r
+                                       hostname = window.location.hostname;\r
+\r
+                               return this.ie &&\r
+                                       domain != hostname &&\r
+                                       domain != ( '[' + hostname + ']' );     // IPv6 IP support (#5434)\r
                        }\r
                };\r
 \r