Skip to content

Fix showroom iframe quote and URL scheme for port 80 - #9895

Merged
bbethell-1 merged 2 commits into
redhat-cop:developmentfrom
rhjcd:fix/showroom-template-iframe-quote
Aug 3, 2026
Merged

Fix showroom iframe quote and URL scheme for port 80#9895
bbethell-1 merged 2 commits into
redhat-cop:developmentfrom
rhjcd:fix/showroom-template-iframe-quote

Conversation

@rhjcd

@rhjcd rhjcd commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix stray quote in index.html.j2 iframe src attribute (line 18) that caused 404 errors
  • Fix 60-showroom-verify.yml to use http:// scheme when showroom_primary_port is 80, instead of hardcoding https://
  • Suppress redundant port suffixes (:80 for http, :443 for https) in lab_ui_url

Needed for rhel-podman-desktop catalog item which runs showroom on bastion via podman (port 80, no TLS) alongside noVNC on port 443.

The template had src="./{{ showroom_component_name }}/"index.html"
which produces a broken HTML attribute. Remove the extra quote so
the iframe correctly loads the Antora content.
@rhjcd rhjcd changed the title Fix stray quote in showroom index.html.j2 iframe src Fix showroom iframe quote and URL scheme for port 80 Aug 2, 2026
The verify task hardcoded https:// in lab_ui_url. When
showroom_primary_port is 80 and TLS is disabled, this produced
https://host:80/showroom/ which is broken.

Compute the scheme from the port: port 80 -> http, else https.
Also suppress the :80 and :443 port suffixes since they are defaults
for their respective schemes.
@rhjcd
rhjcd force-pushed the fix/showroom-template-iframe-quote branch from fee4a5e to 9ecc125 Compare August 2, 2026 02:58
@rhjcd
rhjcd requested a review from bbethell-1 August 2, 2026 20:00
@bbethell-1
bbethell-1 merged commit cb24658 into redhat-cop:development Aug 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants