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)
Wed, Jan 29, 13:23
Unknown Object (File)
Tue, Jan 14, 09:24
Unknown Object (File)
Dec 27 2024, 18:11
Unknown Object (File)
Dec 21 2024, 11:53
Unknown Object (File)
Dec 21 2024, 11:29
Unknown Object (File)
Dec 20 2024, 16:53
Unknown Object (File)
Dec 20 2024, 16:53
Unknown Object (File)
Dec 17 2024, 04:51
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.