Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-01-24 02:03:10

xSDMx
Member
Registered: 2008-06-24
Posts: 129

Input of Quotation Mark or Apostrophe Shows as \'

http://avatarthemovieforum.com/reputation.php?uid=363

I am using the "Reputation mod" and for some reason, it parses an inputted Quotation mark or Apostrophe as "\'" - I have seen this problem before, but can't remember how I fixed it.

Last edited by xSDMx (2010-01-24 02:04:41)

Offline

#2 2010-01-24 02:17:27

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 4,071
Website

Re: Input of Quotation Mark or Apostrophe Shows as \'

Remove line 134 in reputation.php:

$message = addslashes($message);

I don't even see why that line is there, since $message is being escaped when inserted in the database anyway...

Edit: Nice forum by the way. Cool theme, doesn't even look like FluxBB anymore. That, of course, doesn't mean that it wouldn't be cool to see "Powered by FluxBB" in the footer wink

Last edited by Franz (2010-01-24 02:21:18)


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2010-01-24 05:01:00

xSDMx
Member
Registered: 2008-06-24
Posts: 129

Re: Input of Quotation Mark or Apostrophe Shows as \'

Hell, the FluxBB community has done quite a lot for me. I added the link back to the footer. Thanks for the help. smile

Offline

Board footer

Powered by FluxBB 1.5.0