Project

General

Profile

Actions

Bug #101692

closed

PHP process on the server to get full cpu load (one core) by mistake in f:if condition

Added by Heiko Dietrich 9 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2023-08-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

The following fluid-Script has a mistake in the condition. The closing-quote ' behind the second 'a' is missing!

<f:if condition="'a' == 'a" />

This faulty condition causes the PHP process on the server to get full cpu load (one core) and can't finalize the php process. It could be an infinite loop in which the condition parser gets caught.

Actions #2

Updated by Heiko Dietrich 9 months ago

Christian Kuhn wrote in #note-1:

Is this https://github.com/TYPO3/Fluid/issues/667 ?

Yes, it's the same problem

Actions #3

Updated by Simon Praetorius 7 months ago

  • Status changed from New to Closed

Closing this, since it is a Fluid Standalone issue and there is already a PR pending:

https://github.com/TYPO3/Fluid/pull/821

Feel free to test and review the bugfix.

Actions #4

Updated by Simon Praetorius 6 months ago

We just released Fluid v2.9.3 which includes the bugfix and can be installed with composer.

Actions

Also available in: Atom PDF