summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-10-12 16:38:59 -0700
committerMarkus Roberts <Markus@reality.com>2010-10-13 16:49:53 -0700
commit3c56705a95c945778674f9792a07b66b879cb48e (patch)
tree76c0a5807b3ad64138d24b6f189b0dda60255bdf /lib/puppet/util/rdoc/code_objects.rb
parente232770baefc35abb71de6e2f28d053158e6dd45 (diff)
downloadpuppet-3c56705a95c945778674f9792a07b66b879cb48e.tar.gz
puppet-3c56705a95c945778674f9792a07b66b879cb48e.tar.xz
puppet-3c56705a95c945778674f9792a07b66b879cb48e.zip
Fix for #4832 -- Making PSON handle arbitrary binary data
The PSON library needlessly assumed that the data to be transmitted was well- formed unicode. This made Latin-1 users (and anyone who needed to serialize arbitrary binary data) sad. This patch goes some of the way to resolving the issues, by passing through non-unicode data rather than just failing, adds tests, and cleans up a pernicious assumption about escape characters in ruby regular expressions not marked "n" (no-encoding).
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions