Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptions thrown from view renderers yield JSON errors with exception info #759

Open
mikehearn opened this issue Apr 4, 2024 · 0 comments
Labels
type: enhancement New feature or request

Comments

@mikehearn
Copy link
Contributor

Feature description

Generally, if a page is being viewed by a user then returning JSON is the wrong thing to do. Instead Micronaut should render an attractive default error page that doesn't include details about what went wrong, as those can assist attackers.

@graemerocher graemerocher added the type: enhancement New feature or request label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants