Uploaded image for project: 'Hiera'
  1. Hiera
  2. HI-520

Add Unicode specs for loading YAML files

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: HI 3.2.0
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
    • Template:
    • Team:
      Agent
    • Story Points:
      1

      Description

      The Hiera yaml_load_file delegates to Rubys loading of YAML files which specifies :encoding => 'bom|utf8' when loading files.

      This isn't documented well, and we don't have any protection against regressions in the ability of Hiera to load YAML files (for instance, if another YAML parser was selected).

      Some additional specs should be added to cover this situation.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ethan Ethan Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support