This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » BBCode in the middle of cuss words- fix this please!

#76 2012-04-05 00:45:00

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

joefarebrother wrote:

the trouble is, a troll could do any of the following (imagine "lego" was a cuss word):

le[b][/b]go

l*go

le go

l-e-g-o

Let
Everyone
Go
Outside

l.e.g.o

Troubling...


http://trinary.tk/images/signature_.php

Offline

 

#77 2012-04-06 08:50:21

3DSfan12345
Scratcher
Registered: 2011-04-02
Posts: 500+

Re: BBCode in the middle of cuss words- fix this please!

Support. I used this loophole to get around the April Fool's joke, but someone else could use it for bad.
@sci But what if someone said something like "push it"?


R.I.P Scratch 1.4
July 7,2009-May 5,2013

Offline

 

#78 2012-04-22 13:22:40

Sausagefanclub
Scratcher
Registered: 2011-08-31
Posts: 500+

Re: BBCode in the middle of cuss words- fix this please!


http://sausagepages1185.weebly.com/uploads/1/4/1/5/14153465/446452.png?525

Offline

 

#79 2012-04-22 19:22:28

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#80 2012-04-22 21:13:56

WindozeNT
Scratcher
Registered: 2010-06-05
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

cheddargirl wrote:

The Scratch Team is aware of this problem, but it isn't an easy fix. The word filter system on the forums reads things literally, so one would have to input every possible combination of BBCode usage in cuss word to prevent such cheating of the filter.

Now if there's only a way to make FluxBB overlook BBCode...

This.


http://i48.tinypic.com/rlyo80.png
Ever since Misc was killed, I've pretty much stopped going to Scratch Forums...

Offline

 

#81 2012-04-22 21:42:50

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

WindozeNT wrote:

cheddargirl wrote:

The Scratch Team is aware of this problem, but it isn't an easy fix. The word filter system on the forums reads things literally, so one would have to input every possible combination of BBCode usage in cuss word to prevent such cheating of the filter.

Now if there's only a way to make FluxBB overlook BBCode...

This.

It's available in newer versions.

I don't think it's really necessary as it's up to the individual forum there to allow swearing or not; many of their forums allow swearing and much much worse.


Posts: 20000 - Show all posts

Offline

 

#82 2012-04-23 00:36:57

Agentpieface
Scratcher
Registered: 2009-10-10
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

slayerrobe7 wrote:

hmm i think its a good idea but the moderation team is good at what they do ive yet to see one rule broke

you're saying something, but your sig is saying something else.


http://media.tumblr.com/tumblr_lr7fywSZAG1qfj8fq.gif

Offline

 

#83 2012-04-25 10:33:16

wolvesstar97
Scratcher
Registered: 2011-08-31
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

cheddargirl wrote:

Some solutions sound easier than they really are - someone would still need to program the filter for FluxBB to scan the message in preview mode.  hmm

That would be easy- use the pre-determined script for previewing and insert it into the post script. Then have it run the filter.
I'm not a huge coding expert, all I know are text and color hex codes in HTML, so I dont know if this would bork.


@thread-

Now that I think about it, I think that there could be a lot of downfalls to this. For example, on the DragCave topic, if you wanted to type Hellfire Wyvern, the filter would block it.

Also, it helps for specifying which smileys to show and to not show. For example:  tongue  <--Smiley (::) Virtual cookie.


https://dl.dropbox.com/u/33551365/psyko.png

Offline

 

#84 2012-04-25 14:04:36

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

wolvesstar97 wrote:

cheddargirl wrote:

Some solutions sound easier than they really are - someone would still need to program the filter for FluxBB to scan the message in preview mode.  hmm

That would be easy- use the pre-determined script for previewing and insert it into the post script. Then have it run the filter.

If it was that easy, it would have been done already.  tongue

Previewing just reads characters one by one and then spits out the result based on the code. In reality, what would need to happen is that you would need to create a variable so that the message is stored somewhere, then a code designed to strip BBCode goes through whatever is stored in that variable, then the censor filter is applied, and then another code reapplies the BBCode (I'm not even sure this is possible), and then the message gets posted. That's kind of a heavy and impractical way of doing it considering the forums go through about 7000+ posts a week or so.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#85 2012-04-25 15:22:03

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

cheddargirl wrote:

wolvesstar97 wrote:

cheddargirl wrote:

Some solutions sound easier than they really are - someone would still need to program the filter for FluxBB to scan the message in preview mode.  hmm

That would be easy- use the pre-determined script for previewing and insert it into the post script. Then have it run the filter.

If it was that easy, it would have been done already.  tongue

Previewing just reads characters one by one and then spits out the result based on the code. In reality, what would need to happen is that you would need to create a variable so that the message is stored somewhere, then a code designed to strip BBCode goes through whatever is stored in that variable, then the censor filter is applied, and then another code reapplies the BBCode (I'm not even sure this is possible), and then the message gets posted. That's kind of a heavy and impractical way of doing it considering the forums go through about 7000+ posts a week or so.

The way the current Flux does it is to strip empty BBCodes before censoring.

Offline

 

#86 2012-04-25 20:12:35

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

scimonster wrote:

cheddargirl wrote:

wolvesstar97 wrote:


That would be easy- use the pre-determined script for previewing and insert it into the post script. Then have it run the filter.

If it was that easy, it would have been done already.  tongue

Previewing just reads characters one by one and then spits out the result based on the code. In reality, what would need to happen is that you would need to create a variable so that the message is stored somewhere, then a code designed to strip BBCode goes through whatever is stored in that variable, then the censor filter is applied, and then another code reapplies the BBCode (I'm not even sure this is possible), and then the message gets posted. That's kind of a heavy and impractical way of doing it considering the forums go through about 7000+ posts a week or so.

The way the current Flux does it is to strip empty BBCodes before censoring.

And Cheddargirl said that this was an older version of FluxBB.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#87 2012-04-26 03:19:25

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

scimonster wrote:

cheddargirl wrote:

wolvesstar97 wrote:

That would be easy- use the pre-determined script for previewing and insert it into the post script. Then have it run the filter.

If it was that easy, it would have been done already.  tongue

Previewing just reads characters one by one and then spits out the result based on the code. In reality, what would need to happen is that you would need to create a variable so that the message is stored somewhere, then a code designed to strip BBCode goes through whatever is stored in that variable, then the censor filter is applied, and then another code reapplies the BBCode (I'm not even sure this is possible), and then the message gets posted. That's kind of a heavy and impractical way of doing it considering the forums go through about 7000+ posts a week or so.

The way the current Flux does it is to strip empty BBCodes before censoring.

Yeah, but aside from the fact that the current Flux version is old, even having that system in place doesn't entirely solve the problem.

I dd a little bit of research into how those systems work and it's flaws. The code that that strips empty BBCode to prevent bypassing the swear filter doesn't stop all BBCode cheating. In most cases, it's quite possible to cheat that by putting a character in it. For example, assume the word "Scratch" is on the swear filter, so:

Code:

Scr[b][/b]atch

would get caught, but

Code:

Scr[b]a[/b]tch

, will not.

Last edited by cheddargirl (2012-04-26 03:23:34)


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#88 2012-04-26 13:29:36

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

cheddargirl wrote:

scimonster wrote:

cheddargirl wrote:


If it was that easy, it would have been done already.  tongue

Previewing just reads characters one by one and then spits out the result based on the code. In reality, what would need to happen is that you would need to create a variable so that the message is stored somewhere, then a code designed to strip BBCode goes through whatever is stored in that variable, then the censor filter is applied, and then another code reapplies the BBCode (I'm not even sure this is possible), and then the message gets posted. That's kind of a heavy and impractical way of doing it considering the forums go through about 7000+ posts a week or so.

The way the current Flux does it is to strip empty BBCodes before censoring.

Yeah, but aside from the fact that the current Flux version is old, even having that system in place doesn't entirely solve the problem.

I dd a little bit of research into how those systems work and it's flaws. The code that that strips empty BBCode to prevent bypassing the swear filter doesn't stop all BBCode cheating. In most cases, it's quite possible to cheat that by putting a character in it. For example, assume the word "Scratch" is on the swear filter, so:

Code:

Scr[b][/b]atch

would get caught, but

Code:

Scr[b]a[/b]tch

, will not.

True.
New idea.  tongue
Parse the message, then use the PHP function strip_tags on it, censor that, and if it's not the same, do a warning.

Offline

 
  • Index
  •  » Suggestions
  •  » BBCode in the middle of cuss words- fix this please!

Board footer