File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
sources/net.sf.j2s.ajax/ajaxpipe/net/sf/j2s/ajax Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -594,6 +594,9 @@ public void onLoaded() {
594
594
pipeID = "pipe-script-" + pipeKey + "-" + Math.round (10000000 * Math.random ());
595
595
} while (document.getElementById (pipeID) != null);
596
596
iframe.id = pipeID;
597
+ if (ClazzLoader.isIE) { // Avoid being warned with "This page contains both secure and nonsecure items."
598
+ iframe.src = "javascript:false;"; // http://gemal.dk/blog/2005/01/27/iframe_without_src_attribute_on_https_in_internet_explorer/
599
+ }
597
600
document.body.appendChild (iframe);
598
601
var html = "<html><head><title></title>";
599
602
html += "<script type=\"text/javascript\">\r\n";
@@ -663,7 +666,9 @@ public void onLoaded() {
663
666
if (handle.contentWindow != null) {
664
667
if (ClazzLoader.isIE && window["xss.domain.enabled"] == true
665
668
&& domain != null && domain.length > 0) {
666
- handle.contentWindow.location = "javascript:document.open();document.domain='" + domain + "';document.close();void(0);";
669
+ handle.contentWindow.location = "javascript:document.open();document.domain='" + domain + "';document.close();false;"; // void(0);";
670
+ } else if (ClazzLoader.isIE) {
671
+ handle.contentWindow.location = "javascript:false;"; //"about:blank";
667
672
} else {
668
673
handle.contentWindow.location = "about:blank";
669
674
}
You can’t perform that action at this time.
0 commit comments