Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-82

Pull Request (513): (#22107) Force ASCII-8BIT encoding on raw data in property lists

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 1.7.4
    • Fix Version/s: FACT 1.7.5
    • Component/s: Community
    • Labels:
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-1-8 to 2014-1-15, Week 2014-1-15 to 2014-1-21

      Description

      (#22107) Force ASCII-8BIT encoding on raw data in property lists

      Pull Request Description


      Ruby-1.9 and up default to UTF-8 encoding for strings, but CFData is
      used to store bytestrings in plists as read from file-like objects. So,
      disregard the encoding returned from `obj.read`, treating the string as
      a bytestring.

      I'll admit that it's more than a little yucky that a puppet provider is depending on a library stashed away in puppet/util.


      (webhooks-id: a9c51267b74160b62d73f5da22bfc9a1)

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                adrien Adrien Thebo
                Reporter:
                gepetto-bot gepetto-bot
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support