diff options
author | jim-p <jimp@pfsense.org> | 2012-10-31 08:39:12 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-10-31 08:39:12 -0400 |
commit | fcf53c1e081e218726f1d2168ecf8637e8ada41b (patch) | |
tree | 3de92a18c81ad9e9baadaf7d69c3a3a11fcd8ac8 /usr/local/www/csrf/csrf-magic.js | |
parent | 926c3b8e83b6f79c329d7350267a0426fc1a8b61 (diff) | |
download | pfsense-fcf53c1e081e218726f1d2168ecf8637e8ada41b.zip pfsense-fcf53c1e081e218726f1d2168ecf8637e8ada41b.tar.gz |
Update CSRF Magic
Diffstat (limited to 'usr/local/www/csrf/csrf-magic.js')
-rw-r--r-- | usr/local/www/csrf/csrf-magic.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/csrf/csrf-magic.js b/usr/local/www/csrf/csrf-magic.js index 6992402..243e37e 100644 --- a/usr/local/www/csrf/csrf-magic.js +++ b/usr/local/www/csrf/csrf-magic.js @@ -108,7 +108,9 @@ CsrfMagic.end = function() { } // Sets things up for Mozilla/Opera/nice browsers -if (window.XMLHttpRequest && window.XMLHttpRequest.prototype) { +// We very specifically match against Internet Explorer, since they haven't +// implemented prototypes correctly yet. +if (window.XMLHttpRequest && window.XMLHttpRequest.prototype && '\v' != '\v') { var x = XMLHttpRequest.prototype; var c = CsrfMagic.prototype; |