Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#3112 closed Bug (fixed)

IE 's XDomainRequest is not compatible with XHR

Reported by: moniarde Owned by:
Priority: major Milestone: 1.12.x - Piwik 1.12.x
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no

Description

Error with Internet Explorer stats not being captured in Piwik 1.7. I followed the instructions at http://piwik.org/faq/troubleshooting/#faq_100 to set the information request from GET to POST. All browsers except IE record a POST request, however IE shows a GET request, causing a 404 error. Have tested this through IE9 and emulated through IE7 & 8 via dev tools with the same results.

Change History (8)

comment:1 Changed 2 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [6210]) fixes #3112 - drop support for XDomainRequest; Microsoft's implementation is broken

see http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx

comment:2 Changed 2 years ago by vipsoft (robocoder)

  • Component changed from Core to UI (templates, javascript)
  • Keywords mod_security internet explorer removed
  • Milestone set to 1.7.x - Piwik 1.7.2
  • Summary changed from IE uses GET not POST to IE 's XDomainRequest is not compatible with XHR

comment:3 Changed 2 years ago by vipsoft (robocoder)

(In [6211]) refs #3112 - update jslint

comment:4 Changed 2 years ago by moniarde

Where can I download these revisions?

comment:7 Changed 2 years ago by moniarde

Can confirm that change has fixed this error. IE now accessing piwik.php via POST.

comment:8 Changed 2 years ago by vipsoft (robocoder)

(In [6214]) refs #3112, refs #2321 - XMLHttpRequest Level 2 spec (draft) supports CORS; clean up comments

  • Safari 4+
  • Firefox 3.5+
  • Chrome 2+
  • IE10
  • Opera 12 (CORS support enabled in Presto/2.10.232)

So, we won't restore support for IE's broken XDomainRequest, ever. (Tracker.php already implements the CORS response header.)

Note: See TracTickets for help on using tickets.