fix base64
This commit is contained in:
parent
c9ab7d4f49
commit
9141adfb5b
0
src/bash/filter.sh
Normal file → Executable file
0
src/bash/filter.sh
Normal file → Executable file
0
src/bash/filterTest.sh
Normal file → Executable file
0
src/bash/filterTest.sh
Normal file → Executable 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>
|
||||
|
@ -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 << ")");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user