HomeDevCentral

Provide a base64 encoder compatible with URLs

Description

Provide a base64 encoder compatible with URLs

Summary:
URLs don't like some characters used in base64 like '+' or '/',
and padding isn't useful in this context.

Ref T1609.

Test Plan: Unit tests provided

Maniphest Tasks: T1609

Differential Revision: https://devcentral.nasqueron.org/D2276

Details

Provenance
derecksonAuthored on Mar 10 2020, 19:38
derecksonPushed on Mar 11 2020, 00:48
Differential Revision
D2276: Provide a base64 encoder compatible with URLs
Parents
rKOTdb2a8f4bed7c: Ensure tests can run with PHPUnit 9
Branches
Unknown
Tags
Unknown
Tasks
T1609: Generate n characters string from m bits