davecranwell / left4deadrcon

Automatically exported from code.google.com/p/left4deadrcon
0 stars 0 forks source link

Quote escaping issue #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using the console (for instance, with say), single quotes will be
double escaped (\\\').

Tested with latest L4D server using l4drcon r28, on a Debian server.

Original issue reported on code.google.com by fireslas...@gmail.com on 14 Feb 2009 at 10:59

GoogleCodeExporter commented 9 years ago
This may be dependant upon whether your server has magic_quotes turned on or 
off.
Find where $command is being submit (I think it's in rpc/runcommand.php) and try
adding the stripslashes command or swapping out the addslashes command.

HTH

Original comment by netstep...@googlemail.com on 10 Jun 2009 at 4:47