This is the tracker for the Core of the Nucleus CMS-project (Nucleus CMS Website)
FS#114 — magic_quotes_sybase
Attached to Project— Nucleus Core
Opened by Wouter Demuynck (karma) - Wednesday, 19 October 2005, 08:26PM
Last edited by Wouter Demuynck (karma) - Wednesday, 19 October 2005, 08:28PM
Opened by Wouter Demuynck (karma) - Wednesday, 19 October 2005, 08:26PM
Last edited by Wouter Demuynck (karma) - Wednesday, 19 October 2005, 08:28PM
| Bug | |
| PHP version specific | |
| Requires testing | |
| Wouter Demuynck | |
| All |
| Low | |
| Normal | |
| CVS | |
| 3.3 | |
| Undecided | |
|
|
When the magic_quotes_sybase setting is enabled, the undoMagic handling needs a little change.
http://php.belnet.be/manual/en/ref.sybase.php#ini.magic-quotes-sybase
"If magic_quotes_sybase is on, a single-quote is escaped with a single-quote instead of a backslash if magic_quotes_gpc or magic_quotes_runtime are enabled.
Note: Note that when magic_quotes_sybase is ON it completely overrides magic_quotes_gpc . In this case even when magic_quotes_gpc is enabled neither double quotes, backslashes or NUL's will be escaped. "
http://php.belnet.be/manual/en/ref.sybase.php#ini.magic-quotes-sybase
"If magic_quotes_sybase is on, a single-quote is escaped with a single-quote instead of a backslash if magic_quotes_gpc or magic_quotes_runtime are enabled.
Note: Note that when magic_quotes_sybase is ON it completely overrides magic_quotes_gpc . In this case even when magic_quotes_gpc is enabled neither double quotes, backslashes or NUL's will be escaped. "
This task depends upon
This task blocks these from closing
Updated versions for vars4.1.0.php / vars4.0.6.php are in CVS.
One oddity I noticed: wit magic_quotes_sybase enabled, I'm unable to submit values which contain "\'" (without the double quotes). The value isn't even present in the $_POST array, apparently.