php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16314 stripslashes strips n'n to nn
Submitted: 2002-03-27 13:40 UTC Modified: 2002-03-27 15:21 UTC
From: grangeway at hotmail dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.1.2 OS: freebsd/windows
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: grangeway at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-03-27 13:40 UTC] grangeway at hotmail dot com
echo stripslashes(",',"); returns ,,

i.e. echo addslashes(stripslashes("'")); returns nothing. 

tested on 4.1.2 and cvs version as of a few days ago. 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-27 13:41 UTC] grangeway at hotmail dot com
that's with sybase style slashes on.
 [2002-03-27 15:21 UTC] hholzgra@php.net
fixed in CVS (although code could be beautified)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 11 11:00:02 2025 UTC