Censor filter messes up words, containing illegal words as substrings

Censor filter messes up words, containing illegal words as substrings

by Oleg Sychev -
Number of replies: 3
Core developersನ ಚಿತ್ರ Plugin developersನ ಚಿತ್ರ
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)...
Average of ratings: -
In reply to Oleg Sychev

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

by Joseph Rézeau -
Core developersನ ಚಿತ್ರ Particularly helpful Moodlersನ ಚಿತ್ರ Plugin developersನ ಚಿತ್ರ Testersನ ಚಿತ್ರ Translatorsನ ಚಿತ್ರ
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

In reply to Joseph Rézeau

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

by Marcus Green -
Core developersನ ಚಿತ್ರ Particularly helpful Moodlersನ ಚಿತ್ರ Plugin developersನ ಚಿತ್ರ Testersನ ಚಿತ್ರ
Even if only for the residents of Scunthorpe (one of the finest Thorpes in North Lincolnshire)
In reply to Marcus Green

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

by Paul Holden -
Core developersನ ಚಿತ್ರ Moodle HQನ ಚಿತ್ರ Moodle Workplace teamನ ಚಿತ್ರ Particularly helpful Moodlersನ ಚಿತ್ರ Peer reviewersನ ಚಿತ್ರ Plugin developersನ ಚಿತ್ರ Testersನ ಚಿತ್ರ
big grin

Great discussion about this problem on thedailywtf.