Project

General

Profile

Actions

Bug #79425

closed

Long URL can make RefIndexer crash

Added by Thomas Hohn over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2017-01-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

We have seen some examples of a long URL's that makes the RefIndexer crash.
This seems to be due to the fact that
  1. The field ref_string in the table sys_refindex is limited to 200 characters
  2. There is no check/truncation of the field if it has a length greater that 200 characters.
We propose to
  1. Extend the field ref_string to a varchar(1024)
  2. Add a mb_substr with a limit of 1023 where the value is added to the array that will be
    stored in the database
Actions

Also available in: Atom PDF