correct base64 check

This commit is contained in:
orignal 2023-10-30 08:10:17 -04:00
parent 3286bdb4a7
commit e1b4feb618

View File

@ -62,7 +62,7 @@ namespace data
bool IsBase64 (char ch) bool IsBase64 (char ch)
{ {
return (ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || ch == '-' || ch == '~'; return (ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9') || ch == '-' || ch == '~';
} }
/* /*