Page MenuHomeDevCentral

Provide a base64 encoder compatible with URLs
ClosedPublic

Authored by dereckson on Mar 11 2020, 00:18.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 07:54
Unknown Object (File)
Thu, Oct 31, 12:06
Unknown Object (File)
Mon, Oct 21, 13:50
Unknown Object (File)
Oct 17 2024, 04:45
Unknown Object (File)
Oct 17 2024, 03:19
Unknown Object (File)
Oct 16 2024, 19:59
Unknown Object (File)
Oct 16 2024, 19:19
Unknown Object (File)
Oct 11 2024, 02:30
Subscribers
None

Details

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

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc/Strings/Multibyte/StringUtilities.php:14PHPCS.E.Generic.Files.LineLength.MaxExceededGeneric.Files.LineLength.MaxExceeded
Warningtests/Strings/Multibyte/StringUtilitiesTest.php:60PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Warningtests/Strings/Multibyte/StringUtilitiesTest.php:68PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Warningtests/Strings/Multibyte/StringUtilitiesTest.php:110PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Warningtests/Strings/Multibyte/StringUtilitiesTest.php:114PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Unit
Test Failures
Branch
master
Build Status
Buildable 3535
Build 3784: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Mar 11 2020, 00:47
This revision was landed with ongoing or failed builds.Mar 11 2020, 00:48
This revision was automatically updated to reflect the committed changes.