Closed il2020 closed 1 month ago
A picture was inserted in the text of the email:
Content-Type: image/jpeg; name="=?UTF-8?B?0KHQv9GD0YLQvdC40LogMCUuanBn?=" Content-Disposition: inline; filename="=?UTF-8?B?0KHQv9GD0YLQvdC40LogMCUuanBn?=" Content-Transfer-Encoding: base64
But instead of the picture, only part of the link to it is displayed in the text. In the browser inspector, it says:
<img style="width:833px;" src="https://example.com/storage/attachment/0/9/1/%D0%A1%D0%BF%D1%83%D1%82%D0%BD%D0%B8%D0%BA_0%25.jpg?id=58165&token=231e7625257d350c32" alt="Спутник_0%25.jpg?id=58165&token=231e7625257d350c32">
There are errors like this in web-server.log:
2024/09/10 16:03:16 [error] 2632068#2632068: *7003162 open() "/var/www/html/storage/app/attachment/0/9/1/Спутник_0.jpg" failed (2: No such file or directory), client: X, server: example.com, request: "GET /storage/attachment/0/9/1/%D0%A1%D0%BF%D1%83%D1%82%D0%BD%D0%B8%D0%BA_0%25.jpg?id=58165&token=231e7625257d350c32 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "example.com"
On the server, I see the file with this name:
/var/www/html/storage/app/attachment/0/9/1/Спутник_0%.jpg
PHP version: 8.2.20 FreeScout version: 1.8.152 Database: MySQL Are you using CloudFlare: No Are you using non-official modules: Yes
We can't reproduce the issue. It looks like web server or proxy issue. What web server are you using? Are you using some proxies?
I use nginx/1.22.1 without proxy. Okay, we can consider it a momentary glitch.
A picture was inserted in the text of the email:
But instead of the picture, only part of the link to it is displayed in the text. In the browser inspector, it says:
There are errors like this in web-server.log:
On the server, I see the file with this name:
PHP version: 8.2.20 FreeScout version: 1.8.152 Database: MySQL Are you using CloudFlare: No Are you using non-official modules: Yes