Browse Source

correct base64 check

pull/1982/head
orignal 1 year ago
parent
commit
e1b4feb618
  1. 2
      libi2pd/Base.cpp

2
libi2pd/Base.cpp

@ -62,7 +62,7 @@ namespace data @@ -62,7 +62,7 @@ namespace data
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 == '~';
}
/*

Loading…
Cancel
Save