#25925 [NEW]: addslashes ignoring special slash types
| From: | gameRevolt at assimsoft dot com | Date: | Mon, 20 Oct 2003 17:24:39 +0000 |
| Subject: | #25925 [NEW]: addslashes ignoring special slash types | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-49246@lists.php.net to get a copy of this message | ||
From: gameRevolt at assimsoft dot com
Operating system: N/A
PHP version: 4CVS-2003-10-20 (stable)
PHP Bug Type: MySQL related
Bug description: addslashes ignoring special slash types
Description:
------------
An Extended Ascii code understands the following as types of quote...
0x91
0x92
0x93
0x94
mySQL uses this, and thus these need escaping by addslashes (or magic
slashes). POST/GET strings involving these will not be escaped properly
and thus queries involving those strings will fail.
See around line 2485 of ext/standard/string.c
--
Edit bug report at http://bugs.php.net/?id=25925&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25925&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25925&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25925&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25925&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25925&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25925&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25925&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25925&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25925&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25925&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25925&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25925&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25925&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25925&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25925&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25925&r=float