php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62066 Test Bug - ext/tidy/tests/004.phpt
Submitted: 2012-05-18 20:42 UTC Modified: 2012-05-21 11:24 UTC
From: mattficken@php.net Assigned: ab (profile)
Status: Closed Package: Tidy (PECL)
PHP Version: 5.4.4RC1 OS: Windows
Private report: No CVE-ID: None
 [2012-05-18 20:42 UTC] mattficken@php.net
Description:
------------
The test fails because there is a stray \r (not \r\n, just \r) in the text 
returned by the first of two calls to tidy_get_error_buffer();

The libTidy release (Windows) is 25 March 2009.

The patch doesn't fix the actual problem, rather it just removes the stray \r from 
the output, so the test will pass.


Expected result:
----------------
Test pass

Actual result:
--------------
007+ 
bool(true)
007- bool(true)

Patches

004.patch.txt (last revision 2012-05-18 20:42 UTC by mattficken)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-21 10:53 UTC] ab@php.net
Automatic comment on behalf of mattficken
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c973fef48d6302b9bcec898de8e39d8d7e23adef
Log: Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
 [2012-05-21 11:24 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-05-21 11:24 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2014-10-07 23:25 UTC] stas@php.net
Automatic comment on behalf of mattficken
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=c973fef48d6302b9bcec898de8e39d8d7e23adef
Log: Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
 [2014-10-07 23:36 UTC] stas@php.net
Automatic comment on behalf of mattficken
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=c973fef48d6302b9bcec898de8e39d8d7e23adef
Log: Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 12:01:26 2019 UTC