php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13450 Save method adds delimiters
Submitted: 2001-09-26 09:26 UTC Modified: 2002-04-13 08:55 UTC
From: paul at redeye dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.6 OS: Win 2000
Private report: No CVE-ID: None
 [2001-09-26 09:26 UTC] paul at redeye dot com
When using the lob->save method after posting data from a form php string delimiters are inserted before the lob is written to the database.

String delimiters are not added to lobs written using lob->savefile. Surely this should be consistent between methods and, given that it is likely that Oracle needs to interface to more than PHP it should be removed from the save method. This doesn't seem to be documented either.

EG:

original post data - Welcome to "Chez Moi"

becomes

Welcome to \"Chez Moi\"

submit again and it becomes

Welcome to \\\"Chez Moi\\\"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 08:55 UTC] thies@php.net
switch of magic_quotes
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 14:01:30 2025 UTC