Do not rewrite outbound URL if the source domain is the active domain

Created on 10 June 2025, 3 days ago

Problem/Motivation

The Domain Source module provides an OutboundPathProcessor to rewrite the path to entities to its configured Domain Source. However, there is no need to rewrite URLs when the source is the active domain.

Steps to reproduce

  1. Install standard profile
  2. Enable Domain source for Article
  3. Notice all entity links for an article are absolute URLs

Proposed resolution

Do not rewrite outbound URL if the source domain is the active domain

Remaining tasks

  1. Write a merge request
  2. Review
  3. Commit

User interface changes

URLs for an entity with a Domain Source are relative when the Domain Source is the active domain

API changes

None

Data model changes

None

📌 Task
Status

Active

Version

2.0

Component

- Domain Source

Created by

🇳🇱Netherlands idebr

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