@ -179,7 +179,7 @@ const has_embed = async (png: Buffer) => {
return true;
if (buff.slice(4, 4 + CUM6.length).equals(CUM6)) {
const passed = buff.slice(4 + CUM6.length).toString();
return !!passed.match(/[0-9a-zA-Z+/]+/g);
return !!passed.match(/^[0-9a-zA-Z+/=]+$/g);
}
break;
case 'IDAT':