Bugfix
- [security] The visitor's IP no longer comes from headers any visitor can send.
Client-IP,CF-Connecting-IP,X-Forwarded-Forand the other forwarded headers are each trusted only when switched on undersystem.http_x_forwarded(client_ip,cf_connecting_ip,ip), and all are off by default, so login throttling, form limits and logs see the real address. A site behind Cloudflare or another proxy keeps real visitor IPs by restoring them in the web server (nginxreal_ip, Apachemod_remoteip), or by switching on the matching header when nothing but the proxy can reach the server. Backport of the Grav 2 rules - [security] In the classic admin, a user manager without super-admin access can no longer save, change the password of or delete a super-admin account through the Accounts page, a submitted password hash is ignored, and stored credentials are no longer written into the account form. Thanks @manus-pi
- A page with a link or image whose address is longer than any file path, such as an inline image written as
/data:image/png;base64,..., no longer turns into an error page on servers withopen_basedirset