1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-16 23:27:30 -05:00

Enable Nullable In Auth Repositories (#4600)

This commit is contained in:
Justin Baur
2024-08-09 09:31:06 -04:00
committed by GitHub
parent 374ef95656
commit 56d6c91b25
25 changed files with 76 additions and 30 deletions

View File

@ -388,6 +388,8 @@ public static class CoreHelpers
/// <returns>Base64 standard formatted string</returns>
public static string TransformFromBase64Url(string input)
{
// TODO: .NET 9 Ships Base64Url in box, investigate replacing this usage with that
// Ref: https://github.com/dotnet/runtime/pull/102364
var output = input;
// 62nd char of encoding
output = output.Replace('-', '+');