Implement flash messages, refactor candidate retrieval, and enhance quiz functionality

This commit is contained in:
2025-03-04 22:20:35 +01:00
parent 26b99a8353
commit 29bc74fe4f
9 changed files with 88 additions and 17 deletions

View File

@@ -14,12 +14,12 @@ class Base64
public static function base64_url_encode(string $input): string
{
return strtr(base64_encode($input), '+/=', '-_.');
return strtr(base64_encode($input), '+/', '-_');
}
/** @throws UrlException */
public static function base64_url_decode(string $input): string
{
return \Safe\base64_decode(strtr($input, '-_.', '+/='), true);
return \Safe\base64_decode(strtr($input, '-_', '+/'), true);
}
}