|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15440 quoted_printable_decode: bad CRLF test; tests for LFCR instead.
Submitted: 2002-02-07 22:37 UTC Modified: 2002-04-01 12:09 UTC
From: bird at anduin dot net Assigned:
Status: Closed Package: Strings related
PHP Version: 4.1.1 OS:
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:
Solve the problem:
43 + 48 = ?
Subscribe to this entry?

 [2002-02-07 22:37 UTC] bird at anduin dot net
line 105 in ext/standard/quot_print.c:
                else if ( (str_in[i+k] == 10) && (str_in[i+k+1] == 13))
It should be:
                else if ( (str_in[i+k] == 13) && (str_in[i+k+1] == 10))

This bug breaks testcase ext/standard/tests/general_functions/002.phpt on OS/2 and most likely on windows too.

Might be on of the problems reported in #9498.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-01 12:09 UTC]
This bug has been fixed in CVS.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Oct 28 21:03:36 2021 UTC