Exclude paths on path prefix

Created on 23 April 2024, 5 months ago

Problem/Motivation

I have Drupal 10, php 8, site with italian language using path prefix it-it. When running tome, I'm encountering issues.
Paths must be excluded also when using path prefixes.

In logs, I can see:

Path: /it-it/batch. Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: in Drupal\system\Controller\BatchController->batchPage() (line 55 of /var/www/html/web/core/modules/system/src/Controller/BatchController.php).

or

Symfony\Component\HttpKernel\Exception\HttpException: The original location is missing. in Drupal\big_pipe\Controller\BigPipeController->setNoJsCookie() (line 50 of /var/www/html/web/core/modules/big_pipe/src/Controller/BigPipeController.php). on it-it/big_pipe/no-js

Steps to reproduce

Please use path prefix and have updated core to 10 version.

Proposed resolution

Patch created. Tested on 3 different sites, with and without path prefix.

๐Ÿ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ท๐Ÿ‡ดRomania sorina.hriban

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