Ticket #7847: 7847.patch
File 7847.patch, 1.3 KB (added by , 12 years ago) |
---|
-
_source/core/env.js
103 103 104 104 return domain != hostname && 105 105 domain != ( '[' + hostname + ']' ); // IPv6 IP support (#5434) 106 } 106 }, 107 108 /** 109 * Indicates that page is running under an encrypted connection. 110 * @returns {Boolean} "true" if the page has an encrypted connection. 111 * @example 112 * if ( CKEDITOR.env.secure ) 113 * alert( "I'm in SSL!" ); 114 */ 115 secure : location.protocol == 'https:' 107 116 }; 108 117 109 118 /** -
_source/core/dom/element.js
1062 1062 return this; 1063 1063 }; 1064 1064 } 1065 else 1065 else if ( CKEDITOR.env.ie8Compat && CKEDITOR.env.secure ) 1066 { 1067 return function( name, value ) 1068 { 1069 // IE8 throws error when setting src attribute to non-ssl value. (#7847) 1070 if ( name == 'src' && value.match( /^http:\/\// ) ) 1071 try { standard.apply( this, arguments ); } catch( e ){} 1072 else 1073 standard.apply( this, arguments ); 1074 return this; 1075 }; 1076 } 1077 else 1066 1078 return standard; 1067 1079 })(), 1068 1080