Radosław Smoliński and Claude Fable 5.2
aef1efac73
Public brand image fetch: the site's configured origin only, no redirect followed, a time and a byte limit
...
/api/ipal/admin-og resolved a relative logo address against the request's own host and fetched it with
Node's defaults (redirects followed, no timeout, no size cap); /api/ipal/admin-icon resolved the same way.
Both now resolve against serverURL / NEXT_PUBLIC_SERVER_URL (never the request) and fetch through
fetchPublicImage, which asks one address with redirect: 'manual' (a 3xx is no image), within
PUBLIC_IMAGE_TIMEOUT_MS, reading at most 512 KB. The renderer still draws PNG, JPEG, GIF (by their bytes)
and SVG (by its type, as before). Tests against local servers: hostile Host / X-Forwarded-Host, a 302 to an
internal host, an endless body, a hanging server, the normal logo. Docs say 1.17.1 instead of 1.18.0.
Co-Authored-By: Claude Fable 5.2 <[email protected] >
2026-11-26 22:03:52 +01:00
..
2026-11-25 18:45:36 +01:00
2026-11-25 20:53:38 +01:00
2026-11-25 23:14:11 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 03:48:09 +01:00
2026-11-25 03:48:09 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 00:39:23 +01:00
2026-11-25 00:39:23 +01:00
2026-11-25 02:59:44 +01:00
2026-11-25 02:59:44 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 10:03:31 +01:00
2026-11-25 10:03:31 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 03:44:25 +01:00
2026-11-25 03:44:25 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 00:39:24 +01:00
2026-11-25 00:39:24 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 03:44:25 +01:00
2026-11-25 03:44:25 +01:00
2026-11-25 17:24:21 +01:00
2026-11-26 13:38:39 +01:00
2026-11-26 22:03:52 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-10-22 18:54:08 +02:00
2026-11-25 17:24:21 +01:00
2026-10-29 15:03:39 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-10-29 16:38:04 +01:00
2026-10-29 14:05:47 +01:00
2026-10-29 16:38:04 +01:00
2026-10-29 16:38:09 +01:00
2026-11-26 22:03:52 +01:00
2026-10-19 19:38:28 +02:00
2026-10-16 20:53:25 +02:00
2026-11-26 14:10:44 +01:00
2026-11-26 13:48:19 +01:00
2026-11-26 14:00:35 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-10-21 16:45:03 +02:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:41:26 +01:00
2026-11-25 17:36:09 +01:00
2026-11-26 11:55:26 +01:00
2026-11-25 17:24:21 +01:00
2026-11-13 17:02:10 +01:00
2026-10-17 01:29:00 +02:00
2026-11-13 16:24:27 +01:00
2026-11-24 22:00:27 +01:00
2026-11-25 17:24:21 +01:00
2026-10-17 03:20:11 +02:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-26 00:33:07 +01:00
2026-11-13 17:02:10 +01:00
2026-10-19 21:32:40 +02:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-10-22 17:17:42 +02:00
2026-10-15 23:56:18 +02:00
2026-11-26 10:38:29 +01:00
2026-11-26 14:10:44 +01:00
2026-11-25 17:41:26 +01:00
2026-11-25 18:45:36 +01:00
2026-10-27 15:46:25 +01:00
2026-10-27 15:46:25 +01:00
2026-10-22 17:35:08 +02:00
2026-11-25 17:24:21 +01:00
2026-11-25 00:39:12 +01:00
2026-11-26 10:57:32 +01:00
2026-11-25 22:13:58 +01:00
2026-11-25 23:14:11 +01:00
2026-11-25 22:13:58 +01:00
2026-10-29 15:31:43 +01:00
2026-10-29 15:29:07 +01:00
2026-10-20 00:46:44 +02:00
2026-10-16 02:19:08 +02:00
2026-10-21 16:45:03 +02:00
2026-10-19 21:32:40 +02:00
2026-11-26 10:57:32 +01:00
2026-10-16 01:26:10 +02:00
2026-11-26 22:03:52 +01:00
2026-11-25 17:24:21 +01:00
2026-10-22 17:35:08 +02:00
2026-10-29 15:17:11 +01:00
2026-10-22 17:04:09 +02:00
2026-11-25 17:24:21 +01:00
2026-10-22 17:35:08 +02:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-26 11:55:26 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-10-29 19:19:14 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-26 10:38:29 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00
2026-11-24 01:46:25 +01:00
2026-11-25 17:24:21 +01:00
2026-11-26 21:44:39 +01:00
2026-10-21 16:45:03 +02:00
2026-11-25 18:04:26 +01:00
2026-11-25 17:24:21 +01:00
2026-10-27 15:46:25 +01:00
2026-10-16 02:19:08 +02:00
2026-11-25 17:24:21 +01:00
2026-10-19 21:32:40 +02:00
2026-10-27 14:59:41 +01:00
2026-11-25 17:24:21 +01:00
2026-10-29 12:06:55 +01:00
2026-11-25 17:24:21 +01:00
2026-11-24 18:56:07 +01:00
2026-11-25 17:24:21 +01:00
2026-11-26 01:36:17 +01:00
2026-11-26 00:33:07 +01:00
2026-11-26 01:19:27 +01:00
2026-11-26 01:19:27 +01:00
2026-10-15 23:56:18 +02:00
2026-11-25 17:24:21 +01:00
2026-11-25 02:53:41 +01:00
2026-11-25 17:24:21 +01:00
2026-11-25 17:24:21 +01:00