summaryrefslogtreecommitdiffstats
path: root/usr/local/www/csrf
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/csrf')
-rw-r--r--usr/local/www/csrf/csrf-magic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/csrf/csrf-magic.js b/usr/local/www/csrf/csrf-magic.js
index 243e37e..d776b6a 100644
--- a/usr/local/www/csrf/csrf-magic.js
+++ b/usr/local/www/csrf/csrf-magic.js
@@ -110,7 +110,7 @@ CsrfMagic.end = function() {
// Sets things up for Mozilla/Opera/nice browsers
// We very specifically match against Internet Explorer, since they haven't
// implemented prototypes correctly yet.
-if (window.XMLHttpRequest && window.XMLHttpRequest.prototype && '\v' != '\v') {
+if (window.XMLHttpRequest && window.XMLHttpRequest.prototype && '\v' != 'v') {
var x = XMLHttpRequest.prototype;
var c = CsrfMagic.prototype;
OpenPOWER on IntegriCloud