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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
39 - 29 = ?
Subscribe to this entry?

 
 [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 00:01:30 2024 UTC