Censor filter messes up words, containing illegal words as substrings

Censor filter messes up words, containing illegal words as substrings

Oleg Sychev -
Erantzun kopurua: 3
Core developers-ren irudia Plugin developers-ren irudia
I did find out this while doing programming assestment. There were such type as Q H a s h I t e r a t o r.

Yes, QHashIterator. But censor filter didn't like the way how sub-words "Hash" and "Iterator" were connected ;) So it censor two characters from boths, leaving QHa**erator instead.

Maybe a cesnsor filter should ignore censored words if they are not words in the sentence, but found inside other words? I.e. surrounded with letters (it's probably needed to still censor them if they will be surrounded by the other characters (digits or special characters)...
Puntuazioen batez bestekoa: -
Oleg Sychev(e)ri erantzunda

Re: Censor filter messes up words, containing illegal words as substrings

Joseph Rézeau -
Core developers-ren irudia Particularly helpful Moodlers-ren irudia Plugin developers-ren irudia Testers-ren irudia Translators-ren irudia
Hi Oleg,
As I wrote in that discussion, the whole idea of censorship is technically flawed and ethically undefendable.
Could we please remove the censor filter from Moodle for good?
Joseph

Joseph Rézeau(e)ri erantzunda

Re: Censor filter messes up words, containing illegal words as substrings

Marcus Green -
Core developers-ren irudia Particularly helpful Moodlers-ren irudia Plugin developers-ren irudia Testers-ren irudia
Even if only for the residents of Scunthorpe (one of the finest Thorpes in North Lincolnshire)