HomePhorge

Fix for #4832 -- Making PSON handle arbitrary binary data
3c56705a95c9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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).

Details

Provenance
Markus Roberts <Markus@reality.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUe232770baefc: Minimal fix for #4975 -- only call chage when managing password age rules
Branches
Unknown
Tags
Unknown

Event Timeline

Markus Roberts <Markus@reality.com> committed rPU3c56705a95c9: Fix for #4832 -- Making PSON handle arbitrary binary data (authored by Markus Roberts <Markus@reality.com>).Oct 14 2010, 1:49 AM