[TYPO3-core] RFC #13427: Bug: Usage of ob_get_level() - here: sysext/openid
netz-haut - stephan seitz
s.seitz at netz-haut.de
Mon Mar 1 16:53:28 CET 2010
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=13427
Branches:
Trunk.
Problem:
It is possible for some HA/HP server configurations, that ob_get_level() returns a wrong value (off-by-one error). This is a known php bug which is unlikely to be fixed, as it persists since the days of php4.
For trunk, this has already been fixed for t3lib/class.t3lib_div.php , some person in charge of the bugtracker might close the bug?
The same use of ob_get_level() occurs in the openid sysext.
So, the included patch only regards typo3/sysext/openid/class.tx_openid_return.php
Solution:
Do not rely on ob_get_level(), just use ob_end_clean().
Mit freundlichen Gruessen
--
Stephan Seitz
Senior System Administrator
*netz-haut* e.K.
multimediale kommunikation
zweierweg 22
97074 würzburg
fon: +49 931 2876247
fax: +49 931 2876248
web: http://www.netz-haut.de/
registergericht: amtsgericht würzburg, hra 5054
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_13427.diff
Type: application/octet-stream
Size: 674 bytes
Desc: bug_13427.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100301/6a51df31/attachment.obj>
More information about the TYPO3-team-core
mailing list