QuickFix Format_Badbase64Char #2953
Add error handling for Convert.FromBase64String to not crash in case of bad format.
May fix #2953
TBH I'm pretty concerned with this fix as it silently swallows the invalid data. ReadBase64 is such a basic method that it's hard to decide what to do with invalid data here.
TBH I'm pretty concerned with this fix as it silently swallows the invalid data.
ReadBase64is such a basic method that it's hard to decide what to do with invalid data here.
It's a quick fix and not a sophisticated error handling solution. You may handle it differently and show a dialog to the user which explains the problem and where it is. IMHO not opening the DB is very inconvenient.