Browse Source

fix base64

test-skip
François 1 year ago
parent
commit
9141adfb5b
  1. 0
      src/bash/filter.sh
  2. 0
      src/bash/filterTest.sh
  3. 4
      src/cpp/eMailShrinker.cpp
  4. 2
      src/cpp/kazMisc.cpp

0
src/bash/filter.sh

0
src/bash/filterTest.sh

4
src/cpp/eMailShrinker.cpp

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

2
src/cpp/kazMisc.cpp

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

Loading…
Cancel
Save