Ticket #2587 (closed feature: duplicate)
IE 8 has difficulties with local files, even if on same origin path. A change to xhr fixes
| Reported by: | scaddenp | Owned by: | tschaub |
|---|---|---|---|
| Priority: | major | Milestone: | 2.10 Release |
| Component: | Request | Version: | 2.8 |
| Keywords: | IE local access | Cc: | |
| State: | Complete |
Description
The problem lies with IE implementation of XHR. Fix is change request/xmlhttprequest.js
Change the function cXMLHttpRequest() to this.
function cXMLHttpRequest() {
this._object = oXMLHttpRequest && (window.location.protocol !== "file:"
!window.ActiveXObject) ? new oXMLHttpRequest
: new window.ActiveXObject("Microsoft.XMLHTTP");
};
This ensures it uses the activex for local file access.
Change History
Note: See TracTickets for help on using tickets.Download in other formats:
