Skip to content
Snippets Groups Projects
Commit 425c911e authored by Georg Ringer's avatar Georg Ringer Committed by Tymoteusz Motylewski
Browse files

[BUGFIX] Use multibyte method in CodeCompletionController

Use mb_strlen & mb_substr to cut off TypoScript to avoid exceptions
if the 20th character is a multibyte value.

Resolves: #90372
Releases: master, 9.5
Change-Id: I8f90aa54a4cb6ede95d4fa50d557aeec4d8cd031
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63255


Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
parent d108ed70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment