diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2009-12-17 10:13:50 +0800 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-12-18 04:06:54 +0800 |
commit | fe7e2fee1673d76130b40488c61982b081aff29f (patch) | |
tree | 61b6e22be2d19bf0c00a35f11f23ad17e43a618a /src/ajax.js | |
parent | b31b9bd756a1489c3b1b856ed8b624c55da9e02f (diff) | |
download | jquery-fe7e2fee1673d76130b40488c61982b081aff29f.tar.gz jquery-fe7e2fee1673d76130b40488c61982b081aff29f.zip |
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!
Diffstat (limited to 'src/ajax.js')
-rw-r--r-- | src/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = /<script(.|\s)*?\/script>/g, + rscript = /<script(.|\s)*?\/script>/gi, rselectTextarea = /select|textarea/i, rinput = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i, jsre = /=\?(&|$)/, |