Closed mrandrewmills closed 9 years ago
There's a regex formula in the distillUpperUniqueAlphas that JSLint is complaining about as being potentially insecure.
phrase = phrase.replace(/[^a-zA-Z]/g, "");
If we can find another way to filter out non-alpha characters that JSLint won't complain about, I'd prefer it. If we can't, then we can't.
Resolved in 1e0d116e77656a8c9f117a5b874ace60f3e282a8.
phrase = phrase.match(/[a-zA-Z]/g); phrase = phrase.toString(); phrase = phrase.replace(/[,]/g, "");
There's a regex formula in the distillUpperUniqueAlphas that JSLint is complaining about as being potentially insecure.
If we can find another way to filter out non-alpha characters that JSLint won't complain about, I'd prefer it. If we can't, then we can't.