Phorum / Core

The core of Phorum
http://www.phorum.org
68 stars 33 forks source link

Bug - 5.1.11 - Censored words are visable to user in quote reply. #303

Closed Phorum closed 13 years ago

Phorum commented 13 years ago

If you quote reply a post or PM then you can see the word that was censored in the post or PM.

Reported by: CBiLL Imported from TRAC: http://trac.phorum.org/ticket/325

Phorum commented 13 years ago

Link explaining more about it

http://www.phorum.org/phorum5/read.php?12,112432

By: CBiLL

Phorum commented 13 years ago

What do you all think about a 2 pass censor filter. Replace the text once on post and then make a second pass at read so that anything added after that post will at least be filtered.

This is a problem for search also. You can search for censored words.

By: brian

Phorum commented 13 years ago

Why not make it completely read-time only instead of two-pass? So if you decide at one day that you want "$%#$" to display, it will work for old posts too.

The search thing could be fixed by filtering the search arguments using the censor (not by changing the actual search string but by limiting the internal list of search words).

By: mmakaay

Phorum commented 13 years ago

should be fixed in [1064] patching strip_body.

By: ts77