L33t speak filter problems...

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

L33t speak filter problems...

Post by nielsene »

I just ran into what should have a simple fix in the l33t speak filter.

Attempting to use the underline tags, cause the open tag name to be replaced by you. Ie

Code: Select all

їu]Underline thisї/u]
is becoming

Code: Select all

<you>Underline thisyou>
and breaking.

For example. this should be underlined.

EDIT: VERY WEIRD. It appears to fail on preview, but work on submit.....
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

underline

Confirmed. Breaks on preview. There's some sort of inconsistency in the filter for previews and submits. Not too big of a problem though.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

phpbb runs the censoring filters at various (odd) times during display processing... since those changes are run through that system, they may and sometimes run at odd times. The system isn't set up to handle html, for one. Two, the filter is run on final html when quoting (last I remember) which makes it really poor then... but again, that's not really our fault, as more a fault in the implementation of their own system for censoring.
Post Reply