Bug #40840

Wrong escape character in Configuration/Settings.yaml

Added by Christian Jul Jensen almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-09-11
Priority:Must have Due date:
Assigned To:Christian Jul Jensen % Done:

100%

Category:Configuration
Target version:TYPO3 Flow Base Distribution - 2.0 beta 1
PHP Version: Complexity:
Has patch:No Affected Flow version:Git 1.2 (master)

Description

In yaml backslash is not a valid escape character in single quoted strings, the only allowed escape-sequence is '' (two single quotes) resulting in one single quote in the string. In double-quotes it works as in PHP.

http://yaml.org/spec/current.html#id2534365

In newer versions of the Yaml component this will result in a fatal error, it was previously tolerated

Associated revisions

Revision 604406e9
Added by Christian Jul Jensen almost 3 years ago

[BUG] Fix wrong escape sequence in yaml

Backslash is not a valid escape-character in yaml for single-
quoted strings.

see: http://yaml.org/spec/current.html#id2534365

Change-Id: Id73c2a3fe9bdac142f483544f6f2644f63ac769b
Resolves: #40840
Releases: 1.2

History

#1 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14529

#2 Updated by Christian Jul Jensen almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF