Skip to content

Toolbar download bug #2117

Description

@MGatner

Describe the bug
Issuing a DownloadResponse with the DebugToolbar causes a type error when the toolbar attempts to pass total_execution which hasn't been calculated because of the direct Response return.

CodeIgniter 4 version
Latest develop

Affected module(s)
DownloadResponse, DebugToolbar, ToolbarFilter

Expected behavior, and steps to reproduce if appropriate
In a controller with DebugToolbar enabled call return $this->response->download($filename).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions