Commit fe7e2fee authored by Dave Methvin's avatar Dave Methvin Committed by John Resig

Ignore case of script tags to make sure they're removed. Fixes #5668. Thanks...

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!
parent b31b9bd7
var jsc = now(), var jsc = now(),
rscript = /<script(.|\s)*?\/script>/g, rscript = /<script(.|\s)*?\/script>/gi,
rselectTextarea = /select|textarea/i, rselectTextarea = /select|textarea/i,
rinput = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i, rinput = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,
jsre = /=\?(&|$)/, jsre = /=\?(&|$)/,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment