Bug #15440: quoted_printable_decode: bad CRLF test; tests for LFCR instead.

From: Date: Fri, 08 Feb 2002 03:37:44 +0000
Subject: Bug #15440: quoted_printable_decode: bad CRLF test; tests for LFCR instead.
Groups: php.dev 
Request: Send a blank email to php-dev+get-79630@lists.php.net to get a copy of this message
From: bird@anduin.net Operating system: PHP version: 4.1.1 PHP Bug Type: Strings related Bug description: quoted_printable_decode: bad CRLF test; tests for LFCR instead. 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. -- Edit bug report at http://bugs.php.net/?id=15440&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15440&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15440&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15440&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15440&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15440&r=support Expected behavior: http://bugs.php.net/fix.php?id=15440&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15440&r=notenoughinfo

« previous php.dev (#79630) next »