Use a alternative method to HTTP_REFERER to find the layout entity

Created on 9 January 2020, about 5 years ago
Updated 16 June 2023, almost 2 years ago

Problem/Motivation

When running on an environment using Referrer-Policy: no-referrer due to security, the paragraph blocks list defaults to the numbered paragraph items rather than admin titles specified.

ParagraphBlocksEntityManager.php:
$referer = $this->requestStack->getCurrentRequest()->server->get('HTTP_REFERER');

Proposed resolution

Find an alternative to using the HTTP_REFERER to work out the node that is being edited.

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom mb_lewis

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024