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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

History

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