Skip to content

v1.93.4

Latest

Choose a tag to compare

@MichaelSowah MichaelSowah released this 01 Dec 12:54
2fae4ba

[1.93.4] - 2026-12-01 — Altais

Logs written during web requests land in storage/logs, not under the public web root.

Security

  • A relative log path resolves from the project root. The skeleton's .env sets
    LOG_FILE_PATH=storage/logs, and the framework handed that relative path to the log handlers
    as-is, so PHP resolved it from the working directory. Under PHP-FPM that is public/: web
    requests wrote framework.log and the application logs to public/storage/logs, where a server
    whose document root is public/ served them to anyone, while console commands wrote to the real
    storage/logs. The logs carry request paths, IP addresses and user IDs. The application log
    directory and the framework channel's path now resolve against the project root (new
    Glueful\Logging\LogPath); absolute paths and streams such as php://stderr are unchanged.

Upgrade Notes

  • No configuration changes; an app's own config/logging.php is fixed by the update.
  • Check for logs already written under the web root. If public/storage/logs exists, move its
    files into storage/logs (rename any that clash, such as framework.log), remove the folder, and
    review your web server's access log for requests to /storage/logs.
  • Consider denying /storage/ in the web server configuration as a second line of defence.