Disable redirect module's normalization for Phrase requests

Created on 26 June 2024, 5 months ago

Problem/Motivation

To create previews in its in-context editor, Phrase looks for content at /node/ paths. The popular redirect module will redirect these requests if route normalization is enabled, so we need to disable it.

Steps to reproduce

Setup Phrase Drupal integration, attempt to use in-context editor, get error, contact Phrase support to get error message, see that error message is due to redirects.

Proposed resolution

Set _disable_route_normalizer for requests from Phrase IPs, listed here:

https://support.phrase.com/hc/en-us/articles/5784099126044-Phrase-Server...

Remaining tasks

Make MR, review MR.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States charginghawk

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