Hello Janos,
It's been a busy day ...
Am Sonntag, den 24.03.2013, 08:57 +0100 schrieb Janos SUTO:
> OK, let's try the following: in model/search/message.php the 62th line
> says:
>
> return base64_decode(preg_replace("/\s/", "", $data));
>
> now replace it with the following (only temporarily):
>
> return $data;
>
> then try downloading it again. If it works, I'll find out
> how to detect whether it's a base64 encoded message or not.
That works (build 782, commit 97800b3).
$ diff jsuto-piler-97800b32faf4/webui/model/search/message.php \
/var/piler/www/model/search/message.php
62c62,63
< return base64_decode(preg_replace("/\s/", "", $data));
---
> /* return base64_decode(preg_replace("/\s/", "", $data)); */
> return $data;
I now can open/download the attachment; only differences in whitespace,
diff -bB says the files are the same.
Thanks,
Frank