[
https://issues.apache.org/jira/browse/WICKET-4208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146726#comment-13146726
]
caryxie commented on WICKET-4208:
---------------------------------
I reproduced this issue, the detail reason as below:
1. It occurs only in IE and case of with SSL (https).
2. Why happen just only IE?
I used developer tools of IE to found out a snippet script that generation url
http://:/
<script id="ie_ready" src="//:" defer="defer"></script>
3. Why happen in case of SSL ?( Use https)
Above script generated by wicket-event.js of wicket-1.4.18.jar.
....
} else if (document.readyState && Wicket.Browser.isIE()) {
<-----------------occurs in IE
if (document.getElementById('ie_ready') == null) {
// for internet explorer we need to load a "dummy" scrip from ::/ to get the
// readystatechangeevernt - that means the main page being loaded and now the
browser
// is loading dependencies
var src = (window.location.protocol == 'https:') ? '\/\/:' :
'javascript:void(0)'; <---------occurs in case of https
document.write('<script id="ie_ready" defer src="' + src + '"><\/script>');
<------ generation script code stated in step 2.
document.getElementById('ie_ready').onreadystatechange = function() {
if (this.readyState == 'complete') domReady();
};
}
} else {
// other browsers
Wicket.Event.add(document, "DOMContentLoaded", domReady);
}
...
> ERROR_INTERNET_INVALID_URL will be generated in IE8 under https
> ---------------------------------------------------------------
>
> Key: WICKET-4208
> URL: https://issues.apache.org/jira/browse/WICKET-4208
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.18, 1.4.19
> Environment: IE8
> windows XP
> Reporter: caryxie
> Priority: Minor
> Labels: IE8, javascript
>
> When using IE8 under https, one error ERROR_INTERNET_INVALID_URL generated,
> this error can be found with HttpWatch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira