diff options
| author | Edward Barnard | 2017-05-02 22:45:56 +0100 |
|---|---|---|
| committer | Edward Barnard | 2017-05-03 12:29:47 +0100 |
| commit | a9f71a02928fd275221ce5fc12c8dc2cfc55407e (patch) | |
| tree | c335a35e9dfe9162fb13cc959c2593cda46c4ff5 /src/xml/reader.rs | |
| parent | f9d2236e301238585e0e26f7819b0544351c4b77 (diff) | |
| download | rust-plist-a9f71a02928fd275221ce5fc12c8dc2cfc55407e.tar.bz2 | |
Update to latest base64.
Diffstat (limited to 'src/xml/reader.rs')
| -rw-r--r-- | src/xml/reader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/reader.rs b/src/xml/reader.rs index 4a236fa..e536033 100644 --- a/src/xml/reader.rs +++ b/src/xml/reader.rs @@ -66,7 +66,7 @@ impl<R: Read> EventReader<R> { "false" => return Some(Ok(PlistEvent::BooleanValue(false))), "data" => { return Some(self.read_content(|s| { - let data = base64::decode_ws(&s).map_err(|_| Error::InvalidData)?; + let data = base64::decode_config(&s, base64::MIME).map_err(|_| Error::InvalidData)?; Ok(PlistEvent::DataValue(data)) })) } |
