major
nice-to-have
defect
major
defect
There are a few places in the system that generate an absolute URL for the application, such as bookmarks or switching to a different layout.
This happens by using data from the request. If the application is exposed via a facade, the request contains the facade’s data rather than the container’s. These are therefore incorrect.
Solution
It is not possible to guess the exposed URL of the facade. If such a facade exists, the alias "%HOST%" must be set, which is used for generating absolute URLs.
Test
No test.
Code Migration
Instead of creating a URL yourself using ` ServletRequest#getServerName() `, you must use ` LayoutUtils#appendHostURL(DisplayContext, Appendable) `.