Development

#1 (YAML parsing fails when special characters occur)

You must first sign up to be able to contribute.

Ticket #1 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

YAML parsing fails when special characters occur

Reported by: francois Assigned to:
Priority: minor Milestone: 0.6.0
Component: Version: 0.5.X
Keywords: yaml Cc:
Qualification:

Description

In YAML configuration files, special characters like ' or : crash the YAML parser.

For instance, if a view.yml contains:

default:
  metas:
    title:        symfony : open-source PHP5 web framework
    description:  that's symfony

...then both the title and the description will be wrongly interpreted.

Change History

10/26/05 15:30:03 changed by j@firebright.com

I can confirm this behavior. This is probably a serious bug.

11/01/05 16:02:00 changed by RoVeRT <rovert@rovert.net>

  • status changed from new to closed.
  • resolution set to invalid.

This is propor YAML processing. To use a special YAML character in the value wrap it in either single or double quotes. See here for examples