AppCatalogManager::UpdateMetadata built remote icon download URLs with naive string concatenation, so a relative src such as ./apple-touch-icon.png became https://host/./apple-touch-icon.png. Servers that do not normalise dot segments (5apps runs openresty) answer those with 404, so the icon was silently never attached.
This resolves icon URLs against the web app URL with URI.join (RFC 3986), which collapses dot segments and still handles bare and absolute URLs correctly.
It also bumps manifique to ~> 1.1.1, which fixes the same class of bug for relative web app manifest URLs (./manifest.webmanifest) — the reason a connected remoteStorage app showed no icon and only its host as name in production.
Adds service specs covering manifest metadata loading and icon URL resolution.
After deploy, the affected web app record needs a one-off metadata refresh (AppCatalog::WebApp.find(id).update_metadata).
`AppCatalogManager::UpdateMetadata` built remote icon download URLs with naive string concatenation, so a relative `src` such as `./apple-touch-icon.png` became `https://host/./apple-touch-icon.png`. Servers that do not normalise dot segments (5apps runs openresty) answer those with 404, so the icon was silently never attached.
This resolves icon URLs against the web app URL with `URI.join` (RFC 3986), which collapses dot segments and still handles bare and absolute URLs correctly.
It also bumps `manifique` to `~> 1.1.1`, which fixes the same class of bug for relative web app manifest URLs (`./manifest.webmanifest`) — the reason a connected remoteStorage app showed no icon and only its host as name in production.
Adds service specs covering manifest metadata loading and icon URL resolution.
After deploy, the affected web app record needs a one-off metadata refresh (`AppCatalog::WebApp.find(id).update_metadata`).
AppCatalogManager::UpdateMetadata built remote icon download URLs with
naive string concatenation, so a relative src such as
"./apple-touch-icon.png" produced a URL with a dot segment
(https://host/./apple-touch-icon.png). Servers that do not normalise dot
segments (e.g. 5apps/openresty) answer those with 404, so the icon was
never attached.
Resolve icon URLs against the web app URL with URI.join (RFC 3986), which
collapses dot segments and handles bare and absolute URLs correctly.
Bump manifique to ~> 1.1.1, which fixes the same class of bug for relative
web app manifest URLs ("./manifest.webmanifest"), and add service specs
covering manifest metadata loading and icon URL resolution.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
AppCatalogManager::UpdateMetadatabuilt remote icon download URLs with naive string concatenation, so a relativesrcsuch as./apple-touch-icon.pngbecamehttps://host/./apple-touch-icon.png. Servers that do not normalise dot segments (5apps runs openresty) answer those with 404, so the icon was silently never attached.This resolves icon URLs against the web app URL with
URI.join(RFC 3986), which collapses dot segments and still handles bare and absolute URLs correctly.It also bumps
manifiqueto~> 1.1.1, which fixes the same class of bug for relative web app manifest URLs (./manifest.webmanifest) — the reason a connected remoteStorage app showed no icon and only its host as name in production.Adds service specs covering manifest metadata loading and icon URL resolution.
After deploy, the affected web app record needs a one-off metadata refresh (
AppCatalog::WebApp.find(id).update_metadata).