[MAGNOLIA-2619] relative links: the browser link transformer should make the links relative to the original uri Created: 12/Feb/09  Updated: 28/Feb/14  Resolved: 28/Feb/14

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
Resolution: Outdated Votes: 0
Labels: maintenance, quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File browserLink.patch    
Issue Links:
relation
is related to MAGNOLIA-2872 Further improve/consolidate Link api Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

In case links are relative they are currently made relative to the handle of the page which is not necessary correct (i18n support, ..). Instead they should be relative to the original uri.

All calls should be made to a single util method.



 Comments   
Comment by Philipp Bracher [ 12/Feb/09 ]

Won't apply until 4.0.1 as this is not considered a blocker.

Comment by Philipp Bracher [ 12/Feb/09 ]

attached the patch

Generated at Mon Feb 12 03:38:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.