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

Won't Fix BBCode Bypasses Profanity Filter

Discussion in 'Resolved Bug Reports' started by Trevor, Sep 26, 2010.

  1. Trevor

    Trevor Active Member

  2. James

    James Well-Known Member

    Yep, this problem still exists in vBulletin also. I tested for it earlier :)
  3. Trevor

    Trevor Active Member

    Really? I never tested it on vB.
    What a shame, gone through 4 versions and nobody has fixed this?

    Hopefully the amazing developers here at xF can fix this. :cool:
  4. Brandon_R

    Brandon_R Guest

    For all further references: I was testing the bug.
  5. Trevor

    Trevor Active Member

    Well, as a forum admin myself, plan B would be to turn off profanity filters altogether. The bbcode bug renders the profanity filter obsolete.
  6. whynot

    whynot Well-Known Member

    It is not a bbcode bug.Try the example below:

    Try the word "sh¡t"
    Has nothing to do with bbcode.
  7. Trevor

    Trevor Active Member

    Defintely BBCode. See: Fucker
    And this? ¡... that's simply an ASCII character, anybody can do that. It's easy to filter, which in return doesn't make it an actual bug.
  8. Scott

    Scott Active Member

    Fixing this is a lot harder than you think as it would require producing a tree representation of the post, then walking the tree looking for adjacent text nodes that produce swear words. When you find one you'd need to replace the characters in place and then flatten the tree back to output. Something that couldn't be done at runtime.

    The easiest solution for this is moderation, I could say a swear word and embed it as an image. I could use ASCII text to print it out. I can use similar unicode characters and so forth. Filtering is hard, it's meant to stop the majority of cases not all.
    Philip Morton, Dean, Enigma and 8 others like this.
  9. whynot

    whynot Well-Known Member

    No,it's not a bug just as the others are not bugs.
    As Scott pointed out "The easiest way is moderation" to make them disappear.
  10. Trevor

    Trevor Active Member

    Well its a bug nonetheless.
    It's only alphabetic characters that's actually straight forward without any modification with the exception of either it being bold, italicized, or underlined.

    whynot is NOT using alphabetic characters, he's using ASCII. Which is totally different. He simply removed a character from the text and replaced it with a non-alphabetic character. That my friend would be easier to moderate. It also takes more effort to find that little character and the determination and willpower to post it, as does embeding an image.

    What I'm talking about is straight forward and simple. Just a simple little bold breaks the filter. Which flaws the whole system.
  11. Mike

    Mike XenForo Developer Staff Member

    Censoring is meant to catch the average case. If someone wants to get around it, they will. If they don't use BB code, they'll use spaces, dashes, dots... They'll use confusables.

    The only solution is human intervention.
    Dean, Darkimmortal, DSF and 4 others like this.
  12. whynot

    whynot Well-Known Member

    Sheet is stink...
    Is anything wrong with it for the profanity filter?
    The moderator's job to let it or not to let it go.
  13. Shamil

    Shamil Well-Known Member

    At this rate, there won't be the need for forum moderators.
  14. feldon30

    feldon30 Well-Known Member

    This is not a bug.
  15. Chris Miller

    Chris Miller New Member

    Maybe try and use http://www.webpurify.com it's a profanity filter web service. I know they have a plug-in for vbulletin

Share This Page