Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document URLs are not shown + missing protocol prefix #17925

Closed
kjac opened this issue Jan 9, 2025 · 3 comments
Closed

Document URLs are not shown + missing protocol prefix #17925

kjac opened this issue Jan 9, 2025 · 3 comments

Comments

@kjac
Copy link
Contributor

kjac commented Jan 9, 2025

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

V15.2 (built from latest source)

Bug summary

  1. When multiple hostnames are configured for the same language, only the first hostname yields an URL in the "Info" section.
  2. If a hostname is created without protocol (e.g. "somewhere.com" instead of "https://somewhere.com"), the resulting URL in the "Info" section is broken.

Specifics

No response

Steps to reproduce

Document URLs are not shown

Given a hostname setup like this:

image

Only the first hostname is listed (per culture, that is, ref #17808):

image

All URLs are contained in the data sent to the client:

image

Missing protocol prefix

When a protocol-less hostname is given, the resulting URL is prefixed with the current back-office path:

image

It would be safe to assume that hostnames not starting with "/" should be prefixed with "https://" or just "//" when rendering the link.

Expected result / actual result

No response

@iOvergaard
Copy link
Contributor

The issue with missing protocols seems to be the same as described in #17791 - would you agree, @kjac?

@kjac
Copy link
Contributor Author

kjac commented Jan 9, 2025

Good catch @iOvergaard 👍 definitively the same thing

@iOvergaard
Copy link
Contributor

Fixed with #17926 and slated for version 15.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants