symfony/http-foundation Follow up issue for isAdminPath validator

Created on 4 December 2024, 17 days ago

I saw that a couple of issues( 1 πŸ› DefaultExceptionHtmlSubscriber should not clone the request for 401s Active 2 πŸ› Drupal core update + update to symfony/http-foundation causes certain views blocks to cause a "client error" and breaks page display. Active ) were fixed related to the update of http-foundation.

The approach of catching the error is missing on isAdminPath method for LanguageNegotiation/LanguageNegotiationUserAdmin.php

So I was wondering do we need to make some similar implementation to catch the possible throws of this call
$attributes = $this->router->match($path);

One way admins will aways be aware that symphony is throwing error and it is not corrects to have ASCII chars in the url.
Other way we will hide the error for admins as well.

πŸ’¬ Support request
Status

Needs work

Version

10.2 ✨

Component

user system

Created by

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