This project is archived and is in readonly mode.

#862 ✓resolved
Kai Gülzau

Request.proccessScripts IE fails if response has BOM and empty body

Reported by Kai Gülzau | March 4th, 2010 @ 04:38 PM | in 1.3.0 rc2 (closed)

As already described in this Ticket https://mootools.lighthouseapp.com/projects/2706/tickets/128 Mootools has an error with InternetExplorer in Request.processScripts if the server answers with only the BOM for UTF-8 (hex Bytes '%ef%bb%bf').

In this case IE has a null/undefined xhr.responseText.

Here is the mooShell to reproduce the error: http://mootools.net/shell/n8L2L/

Request.processScripts has to be patched:

processScripts: function(text){
  if ($defined(text)) {
  ...
  }
}

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Pages