Skip to content

Remove problematic examples from error handling guide #2549

Description

@crandmck

In #2539 @jonchurch notes:

The existing error handling guide has several example handlers that do res.render('error', { error: err }), passing the whole error object into the template.

The new security guidance says NOT to use handlers like that.

Replace the existing examples in the err handling guide with those that follow security best practices.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions