base64: don't try to remove LF when decoding

This commit is contained in:
Arcterus 2014-12-06 16:35:32 -08:00
parent 9b638d99a7
commit 3f90b75ffc

View file

@ -115,7 +115,6 @@ fn decode(input: &mut Reader, ignore_garbage: bool) {
num == '+' as u8 || num == '/' as u8) num == '+' as u8 || num == '/' as u8)
}) })
} else { } else {
to_decode = to_decode.as_slice().replace("\n", "");
to_decode.as_slice() to_decode.as_slice()
}; };