DEFEND THE INDEFENSIBLE - PhpBB's BBCode

Message Bookmarked
Bookmark Removed
[img]http://www.postcardfromhell.com/gallery/albums/album22/pattibanana.jpg[/img]

-- the donny shaft (donnyshaf...) (webmail), August 1st, 2005 2:16 PM. (later) (link)

THIS SHIT WAS INVENTED BECAUSE THE AUTHORS OF PHPBB WERE TOO STUPID TO FIGURE OUT HOW TO SELECTIVELY FILTER HTML. BRAINDEAD.

I'm Hi, Jared Fogle (ex machina), Monday, 1 August 2005 17:44 (twenty years ago)

Write your own HTML-to-BBcode converter then.. It could probably be done in 10 lines of Perl. sheesh.

(I do agree with you, though. Then again, doing it this way was probably the same amount of work for an extra line of security against possible HTML e-amil spambots. Not by much, but every little counts I guess. shrug)

donut ferry (donut), Monday, 1 August 2005 17:53 (twenty years ago)

*ten* lines? Overkill?

Forest Pines (ForestPines), Monday, 1 August 2005 20:21 (twenty years ago)

Yeah, duh, I forgot it's Perl:

s/#$%%$^^%$^$^^%$|/\/%$^$^546545645/4334%#$%%#$%#$%345\\/\/\)/g

That should do it

donut ferry (donut), Monday, 1 August 2005 20:42 (twenty years ago)

I'm slightly disappointed that that's not legal perl - it's got 5 unescaped / characters in it.

Forest Pines (ForestPines), Monday, 1 August 2005 20:46 (twenty years ago)

PHP DEVELOPERS BE STUPID

I'm Hi, Jared Fogle (ex machina), Tuesday, 2 August 2005 01:05 (twenty years ago)

bbcode is like the LEAST wrong thing with phpbb.

also, i develop in php! (not only, but often)

php gets a bad rep coz there's so much bad untrusted code in it floating around the net. but good clean php code is as solid as anything else.

there's no language that can cure lazy programming. in the meantime, i'd be hard pressed to name a jsp webapp (crazy enterprise talky weird bean junk [which is usually totally uncalled for] aside) that php can't match.

Secundus Clover (s_clover), Tuesday, 2 August 2005 01:22 (twenty years ago)

also, i develop in php! (not only, but often)

Me too :D

I'm Hi, Jared Fogle (ex machina), Tuesday, 2 August 2005 01:52 (twenty years ago)

"I love YaBB"

ghetty green (eman), Tuesday, 2 August 2005 02:00 (twenty years ago)

php gets a bad rep coz there's so much bad untrusted code in it floating around the net. but good clean php code is as solid as anything else.

I've tried to avoid PHP ever since my boss asked me to trial a stock accounting package that only worked if the register_globals option was turned on.

(for non-PHP users: this is an evil, evil option that opens up a whole swathe of security holes)

Forest Pines (ForestPines), Tuesday, 2 August 2005 05:32 (twenty years ago)


You must be logged in to post. Please either login here, or if you are not registered, you may register here.