Ticket #7827: autoeval.diff
| File autoeval.diff, 511 bytes (added by Tobie, 1 year ago) |
|---|
-
src/ajax.js
old new 185 185 this.dispatchException(e); 186 186 } 187 187 188 if ((this.getHeader('Content-type') || 'text/javascript').strip(). 188 var contentType = this.getHeader('Content-type'); 189 if (contentType && contentType.strip(). 189 190 match(/^(text|application)\/(x-)?(java|ecma)script(;.*)?$/i)) 190 191 this.evalResponse(); 191 192 }