1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't Fix Word censor breaks when colour applied to text

Discussion in 'Resolved Bug Reports' started by CyclingTribe, Jul 30, 2013.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    It seems word censoring can be circumvented in XF by applying colour to a part of the text (usually black - so it isn't visually obvious what has been done).

    The HTML tag (as it exists in the post message data) appears to be breaking the word up and stopping the filter from working, e.g.;

    Yeah, I tried that, but thought it tasted like sh[COLOR=#000000]i[/COLOR]t
    Would it be possible to (or should XF already) filter out the HTML so that words can't be fudged in this way?
  2. Mike

    Mike XenForo Developer Staff Member

    It's basically just not possible to prevent this. There are tradeoffs and problems with all sorts of problems. Censoring is generally something that requires some level of manual management. If someone is circumventing it, you should take action against them.
    Amaury, CyclingTribe and Steve F like this.
  3. Martok

    Martok Well-Known Member

    Would it be possible for a future version of Xenforo to add in editor permissions in posts in the same way as they've been added for signatures? This would at least allow admins to remove text coloring that bypasses the word filter.
  4. Jeremy

    Jeremy Well-Known Member

    There is a suggestion for that.

Share This Page