Skip to content

Commit

Permalink
[BUGFIX] Remove Windows line breaks
Browse files Browse the repository at this point in the history
In order to prevent a faulty configuration and silent output,
line breaks in the MetaData value are now also removed.

Resolves: #87821
Releases: master, 9.5
Change-Id: I243ce719474326dea24805695e27b793ba22ef6a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60536
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
  • Loading branch information
brandung-gs authored and waldhacker1 committed Apr 25, 2019
1 parent 4e53a74 commit dd9daf8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -717,7 +717,7 @@ protected function extractMetaDataFromCouldBeFormDefinition(string $maybeRawForm
continue;
}

$value = trim($value, ' \'"');
$value = trim($value, " '\"\r");
$metaData[$key] = $value;
}

Expand Down

0 comments on commit dd9daf8

Please sign in to comment.