danpros / htmly

Simple and fast databaseless PHP blogging platform, and Flat-File CMS
https://www.htmly.com
GNU General Public License v2.0
1.1k stars 266 forks source link

[BUG REPORT] Content-type not specified #797

Closed AmritasyaPutra closed 2 months ago

AmritasyaPutra commented 2 months ago

Describe the bug More than a bug it is a security ironing-out.

To Reproduce Steps to reproduce the behavior: Default installation as per the server info shared below.

Expected behavior The fallback is perfectly fine and the behavior is alright.

Screenshots/Errors [Wed Aug 28 13:05:48.572624 2024] [proxy_fcgi:error] [pid 21925:tid 129910406383296] [client 10.0.0.55:22790] AH01071: Got error 'PHP message: PHP Notice: file_get_contents(): Content-type not specified assuming application/x-www-form-urlencoded in /var/www/tapovanam.in/system/includes/functions.php on line 3616', referer: https://tapovanam.in/login

HTMLy Version Installed Version: v2.9.9

Server Info (please complete the following information):

Link to installation (optional, but usually helpful) https://tapovanam.in/

Additional context I have other sites on HTMLy, it is an amazing product. I was integrating this new site and came across the error message in the backend and wanted to bring it here for improvement.

AmritasyaPutra commented 2 months ago

The comment from [ViniciusSCG] looks like spam. It was too quick, lacks context and provides a URL link that doesn't work.

danpros commented 2 months ago

This already fixed in master branch actually. I will close this one. Thanks.