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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: paul at redeye dot com
New email:
PHP Version: OS:

 

 [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: Thu May 08 05:01:28 2025 UTC