You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.warn("SpellCheckJS has run 200 times. You may have supplied maliciously crafted data to the function.");
}
output=output.replace(entryName,entry);
}
// This while loop is where the biggest risk is. With a malicious entry, a user could dOS clients by repetitively increasing input length. Thus the need for thorough submission review.
});
return output;
};
const isCorrectlySpelled=function(input) {
try {
Object.keys(db).forEach(entryName => {
let entry=db[entryName];
if(input.includes(entryName)) {
throw new Error();
};
// This while loop is where the biggest risk is. With a malicious entry, a user could dOS clients by repetitively increasing input length. Thus the need for thorough submission review.