Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Base64 is not urlsafe #5

Description

@tomwaddington

Google APIs (specifically Gmail Message.raw), use url-safe base64 encoding and decoding.

At https://github.com/google/autoparse/blob/master/lib/autoparse.rb#L199

Base64.decode64(value)

Should be

Base64.urlsafe_decode64(value)

to prevent decode errors. Same goes for the encoding!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions