Skip to content

Commit

Permalink
Merge pull request #34 from duedal/relax-base64
Browse files Browse the repository at this point in the history
RFC 2045 (MIME) Base64 Decoding Support
  • Loading branch information
qiwzhang committed Aug 27, 2019
2 parents 3a45042 + 14e6915 commit 2feabd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/request_message_translator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ RequestMessageTranslator::RequestMessageTranslator(
writer_pipeline_(&proto_writer_),
output_delimiter_(output_delimiter),
finished_(false) {
// Relax Base64 decoding to support RFC 2045 Base64
proto_writer_.set_use_strict_base64_decoding(false);

// Create a RequestWeaver if we have variable bindings to weave
if (!request_info.variable_bindings.empty()) {
request_weaver_.reset(new RequestWeaver(
Expand Down

0 comments on commit 2feabd5

Please sign in to comment.