You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are use-cases, where you want mesh to render FULL links including protocol and hostname for accessing mesh itself.
E.g. you let mesh render content with links (in FULL mode) and put that content inside an app, which would use the rendered URLs to download binary content. Since the app did not make the initial request to mesh, URLs without protocol and hostname (of mesh) do not make much sense.
For MEDIUM, adding the hostname (of the requested branch) would also make sense, in order to specify the targeted branch (project is included in the path).
Gentics Mesh Version, operating system, or hardware.
Problem
When activating link resolving for fields in a node, the hostname that is set in the branch is only included when the link resolving is set to
SHORT
.Reproducer
?resolveLinks=medium
Expected behavior and actual behavior
I expected the link to include the hostname set in the branch. It is not included for medium and full.
This was implemented in #200
See https://github.com/gentics/mesh/blob/cad9e064d0beaebe2cb60986c23b4e5288c4c259/common/src/main/java/com/gentics/mesh/core/link/WebRootLinkReplacer.java#L224-L235
The text was updated successfully, but these errors were encountered: