[MGNLUI-3060] On HTTPS favorites are saved with protocol and domain Created: 14/Jul/14  Updated: 05/Dec/14  Resolved: 21/Jul/14

Status: Closed
Project: Magnolia UI
Component/s: favorites
Affects Version/s: 5.2.5
Fix Version/s: 5.2.8, 5.3.2

Type: Bug Priority: Critical
Reporter: Frank Sommer Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
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:
Visible to:
Rainer Blumenthal

 Description   

If I use the secure https protocol, the favorites will stored with its complete external url. This is reproducable on demoauthor.

Reason is a bug in info.magnolia.ui.admincentral.shellapp.favorites.FavoritesPresenter#getWebAppRootURI. The method uses the information of the request to remove the domain part from the url. But the request knows nothing about https. The method should use the information from vaadin to cleanup the location url.


Generated at Mon Feb 12 09:02:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.