Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293828

DefaultExceptionHtmlSubscriber should not clone the request for 400/BadRequestException

$
0
0

Problem/Motivation

This was originally reported to the security team but was cleared for a public issue.

DefaultExceptionHtmlSubscriber clones the original request when making a subrequest to display 401 error messages.

However a BadRequestException means the request is bad, and if code called on the error page (e.g. form building) throws another BadRequestException this can create an infinite loop.

Steps to reproduce

Proposed resolution

  • MR !10153: Get rid of the subrequest for 400 errors and just show a basic error page, or
  • MR !10306: Catch BadRequestException when building breadcrumbs

Remaining tasks

Review the two proposed resolutions.

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293828

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>