Project

General

Profile

Actions

Bug #95217

closed

Endless loop in fluid boolean parser

Added by T K over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2021-09-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
fluid, endless loop, boolean, parser
Complexity:
Is Regression:
Sprint Focus:

Description

Incorrect conditions in fluid templates of custom content elements cause an infinite loop in fluid boolean parser. This leads to neither typo3 cli nor the whole website is responding (502 - Bad Gateway).

Example:

Missing single quote in condition

<f:if condition="{settings.type}=='h5">

Platform:

TYPO3 composer installation 10.4 including typo3/cms-fluid 10.4

Actions #1

Updated by Benni Mack over 2 years ago

  • Status changed from New to Needs Feedback

I think this is a bug in Fluid Engine, can you report an issue here? https://github.com/TYPO3/Fluid/issues

Actions #2

Updated by Christian Kuhn about 2 years ago

  • Status changed from Needs Feedback to Closed

hey. i hope it's ok to close here: this looks as if it should be handled in fluid directly, and core could raise to a new version that includes the fix.

Actions

Also available in: Atom PDF