From fe7e2fee1673d76130b40488c61982b081aff29f Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Thu, 17 Dec 2009 10:13:50 +0800 Subject: [PATCH] Ignore case of script tags to make sure they're removed. Fixes #5668. Thanks to Motty/Fudgey for the report and Jitter for the patch! --- src/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ajax.js b/src/ajax.js index 49c7df0a6..edb5c54be 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -1,5 +1,5 @@ var jsc = now(), - rscript = //g, + rscript = //gi, rselectTextarea = /select|textarea/i, rinput = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i, jsre = /=\?(&|$)/, -- 2.39.5