Skip to content

Status Response Code Issue #13

@ghost

Description

While this extension does return the correct error page the Status Response code is always 500. So while a user may see a 404 error page, the server response code given is 500.

Problem code appears to be this:

		$status_code = $exception instanceof HttpException ? $exception->getStatusCode() : 500;
		$response = new Response($this->template->assign_display('body'), $status_code);

The above code was altered in or around 3.1.2 and was never updated in the extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions