Skip to content
Permalink
Browse files

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!
  • Loading branch information
dmethvin authored and jeresig committed Dec 17, 2009
1 parent b31b9bd commit fe7e2fee1673d76130b40488c61982b081aff29f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 = /=\?(&|$)/,

0 comments on commit fe7e2fe

Please sign in to comment.
You can’t perform that action at this time.