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)
Tue, Dec 17, 04:51
Unknown Object (File)
Tue, Dec 10, 09:13
Unknown Object (File)
Sat, Dec 7, 00:08
Unknown Object (File)
Fri, Dec 6, 21:58
Unknown Object (File)
Thu, Dec 5, 12:32
Unknown Object (File)
Nov 19 2024, 02:06
Unknown Object (File)
Nov 19 2024, 02:04
Unknown Object (File)
Nov 17 2024, 16:14
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.