fix base64

This commit is contained in:
François 2022-12-28 15:03:41 +01:00
parent c9ab7d4f49
commit 9141adfb5b
4 changed files with 3 additions and 3 deletions

0
src/bash/filter.sh Normal file → Executable file
View File

0
src/bash/filterTest.sh Normal file → Executable file
View File

View File

@ -33,8 +33,8 @@
////////////////////////////////////////////////////////////////////////////
#include "version.hpp"
const std::string kaz::LAST_VERSION_NUM ("2.12");
const std::string kaz::LAST_VERSION_DATE ("2022-12-27");
const std::string kaz::LAST_VERSION_NUM ("2.13");
const std::string kaz::LAST_VERSION_DATE ("2022-12-28");
const std::string kaz::LAST_VERSION (LAST_VERSION_NUM+" "+LAST_VERSION_DATE+" eMailShrinker");
#include <iostream>

View File

@ -292,7 +292,7 @@ kaz::base64Decode (string &content) {
continue;
}
if (isBase64 (c)) {
if (!isBase64 (c)) {
content.resize (lastOK-content.begin ());
LOG ("kazMisc::base64Decode bug: bad base64 format. (content: " << content << ")");
}