Visiting a path with %20 appended causes an unbranded 404 error page

Created on 4 December 2024, 18 days ago

Problem/Motivation

If you go to a page that exists, such as /node/1 and add %20 to the URL, eg /node/1%20 you should see the regular Drupal themed 404 page. However, instead an error message is displayed (but a 404 http response is correctly sent).

Steps to reproduce

* Go to a URL of a node on the site, but append %20 to the URL. For example /node/1%20

Proposed resolution

Catch the exception so that a regular drupal 404 page can be displayed.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom nicrodgers Monmouthshire, UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024