Skip to content

Commit 48d418a

Browse files
committed
Ignore case of script tags to make sure they're removed. Fixes jquery#5668. Thanks to Motty/Fudgey for the report and Jitter for the patch!
1 parent 9719f22 commit 48d418a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var jsc = now(),
2-
rscript = /<script(.|\s)*?\/script>/g,
2+
rscript = /<script(.|\s)*?\/script>/gi,
33
rselectTextarea = /select|textarea/i,
44
rinput = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,
55
jsre = /=\?(&|$)/,

0 commit comments

Comments
 (0)