php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64421 db2_escape_string documentation does not match implementation
Submitted: 2013-03-13 17:45 UTC Modified: 2018-08-27 09:51 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: ralphschindler@php.net Assigned: vnkbabu (profile)
Status: Closed Package: ibm_db2 (PECL)
PHP Version: Irrelevant OS: ANY
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ralphschindler@php.net
New email:
PHP Version: OS:

 

 [2013-03-13 17:45 UTC] ralphschindler@php.net
Description:
------------
> The string that contains special characters that need to be modified. Characters that are prepended with a backslash are \x00, \n, \r, \, ', " and \x1a. 

The current implementation only replaces single ' with '' (single quote escaping).

Test script:
---------------
n/a


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-27 09:51 UTC] vnkbabu@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: vnkbabu
 [2018-08-27 09:51 UTC] vnkbabu@php.net
As this issue is very old, Closing it. Reopen if issue still persist.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Nov 11 22:01:32 2019 UTC