HomePhorge

(#16922) Quote strings that contain ":"
dc50ec7e6dfdUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#16922) Quote strings that contain ":"

Part of the performance work on the ZAML code caused a regression on how
to convert values that contain a colon into YAML strings. This becomes a
problem when a string ends in a colon and that line in the YAML output
is followed by another line.

An example of the incorrect output is:


a: a:
b: 1

This patch causes that to be output correctly as:


a: "a:"
b: 1

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
Josh Cooper <josh@puppetlabs.com>Committed on Oct 12 2012, 12:57 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU8fb16c875a6a: Merge pull request #1136 from haus/ticket/2.7.
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUdc50ec7e6dfd: (#16922) Quote strings that contain ":" (authored by Andrew Parker <andy@puppetlabs.com>).Oct 12 2012, 12:57 AM