You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The api are thought to be exception-less, that why they use OperationStatus. Base64.Url can throw a FormatException (malformed input) in some cases. Maybe it's better to not throw the exception and just return OperationStatus.InvalidData?
The text was updated successfully, but these errors were encountered:
There's still one pattern where this is hit, but a rare pattern. Though it should behave correct.
If input is A (a single character). It's not valid base64Url, but it should result in InvalidData instead of throwing.
The api are thought to be exception-less, that why they use
OperationStatus
.Base64.Url
can throw aFormatException
(malformed input) in some cases. Maybe it's better to not throw the exception and just returnOperationStatus.InvalidData
?The text was updated successfully, but these errors were encountered: