Backwards with unicode fix? (19)

1 Name: Anonymous : 2006-08-24 15:53 ID:OvwQKYKd [Del]

i got some problem with people posting threads with unicode 202E that reverses the text direction which causes the site to look VERY odd. Is there any quick fix to just remove this letter from posts/namefields?

(And please waha don't come with your "YOU SHOULD BAN ALL THOSE POSTS!!!!" some moderators might not be active and it is very disturbing.)

2 Name: !WAHa.06x36 : 2006-08-24 16:16 ID:dnY2WgNS [Del]

If you're running Wakaba 3.0.5, I think it might help if you add this to spam.txt (or make a second spam file for this stuff):

/\x{202e}/

Or you could add a word ban on ߩ

Do NOT try to add ߩ to spam.txt, it will not work.

3 Post deleted by user.

4 Name: !WAHa.06x36 : 2006-08-24 16:21 ID:dnY2WgNS [Del]

Gah, HTTP and entities. That should read, without extra spaces,

"Or you could add a word ban on & #x202E;

Do NOT try to add & #x202E; to spam.txt, it will not work."

5 Name: Anonymous : 2006-08-24 17:04 ID:OvwQKYKd [Del]

Thank you. <3
You should add this as a default feature in your future releases though. :)

6 Name: Anonymous : 2006-08-24 17:09 ID:OvwQKYKd [Del]

Oh and btw just a quick question, is it possible to add <a href=" into the spam.txt and the software checks for <a href" with wildcards or do i have to add those crazy /\{bla}/?

Since almost every spambot tries to use <a href" or [a href" tags.

7 Name: Anonymous : 2006-08-24 17:20 ID:OvwQKYKd [Del]

On second check, adding /\x{202e}/ to the spam.txt or any own thing didn't quite work. (checked it again, it doesn't seem to want to see any diffrence between upper case and lowercase) i tried with all diffrence combinations of X and E in lower/upper case but didn't do any diffrence.

8 Name: !WAHa.06x36 : 2006-08-24 18:11 ID:dnY2WgNS [Del]

>>6

It's possible but should not be necessary with the spam trap in 3.0.5.

>>7

Then do the other thing I recommended.

9 Name: Anonymous : 2006-08-24 18:21 ID:OvwQKYKd [Del]

>>8
Ah yes the badword thing worked, thanks.

11 Name: Anonymous : 2006-09-09 12:03 ID:Heaven [Del]

>>10
"what" indeed!

12 Name: ‮lol wut : 2007-06-17 02:32 ID:EM9Avwbo [Del]

‮lol wut?

13 Name: ‮ : 2007-06-17 06:57 ID:70oKF2+2 [Del]

hmmm

14 Name: lol ‮backwards : 2007-06-20 20:42 ID:Heaven [Del]

lol ‮backwards
it still works because wakaba and kareha don't decode the post as utf-8 before running the regex to strip out bad characters.
you just have to put the actual character in your post instead of typing the html entity.

15 Name: lol ‮backwards : 2007-06-20 20:43 ID:Heaven [Del]

oh, i guess it doesn't work in the post, but it still works in the name...

16 Name: lolwut : 2007-06-21 14:15 ID:2hq/R6IV [Del]

does not work in wakaba

17 Name: Anonymous : 2007-06-22 16:22 ID:0rLdcp2G [Del]

so how do i kill this exactly in kareha?

18 Name: Anonymous : 2007-06-22 17:21 ID:Heaven [Del]

>>17
http://hotaru.thinkindifferent.net/kareha.diff
there may be issues if you're not using utf-8 as the encoding for your board, but there's not really any reason not to use utf-8.

19 Name: Anonymous : 2007-06-22 20:03 ID:0rLdcp2G [Del]

if it's the default then it should be utf-8

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: