mlsmaycon
43c0cb1dc2
fix(rest): reject empty Delete path params in reverse-proxy clients
...
ReverseProxyClustersAPI.Delete and ReverseProxyTokensAPI.Delete passed
the path parameter into url.PathEscape without an empty check.
PathEscape("") returns "" which collapses the request onto the
collection endpoint ("/api/reverse-proxies/clusters/" /
"/api/reverse-proxies/proxy-tokens/"), so a caller bug delete with no
id reached a routable URL with surprising semantics (typically 405).
Short-circuit with a typed error before the request is built. Tests
mount a handler on the collection path that fails the test if hit, so
the regression is impossible to reintroduce silently.
2026-05-26 21:59:34 +02:00
..
2026-01-08 18:58:22 +01:00
2025-08-05 18:34:41 +02:00
2026-03-30 11:20:17 +03:00
2026-03-30 11:20:17 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-01-08 18:58:22 +01:00
2026-05-25 17:41:50 +02:00
2026-01-08 18:58:22 +01:00
2026-01-16 12:12:05 +03:00
2026-01-16 12:12:05 +03:00
2025-08-05 18:34:41 +02:00
2026-02-13 15:08:47 +03:00
2026-03-31 14:03:34 +02:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-01-08 18:58:22 +01:00
2025-08-05 18:34:41 +02:00
2026-03-30 11:20:17 +03:00
2026-03-30 11:20:17 +03:00
2026-01-08 18:58:22 +01:00
2025-12-01 16:57:42 +01:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-01-08 18:58:22 +01:00
2025-08-05 15:22:58 +02:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-03-30 11:20:17 +03:00
2026-03-30 11:20:17 +03:00
2026-01-06 10:52:36 +01:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-01-08 18:58:22 +01:00
2025-08-05 18:34:41 +02:00
2026-01-08 18:58:22 +01:00
2025-08-05 18:34:41 +02:00
2026-05-26 21:59:34 +02:00
2026-05-26 21:59:34 +02:00
2026-02-28 13:04:58 +08:00
2026-05-25 17:41:50 +02:00
2026-02-28 13:04:58 +08:00
2026-05-26 21:59:34 +02:00
2026-05-26 21:59:34 +02:00
2026-01-08 18:58:22 +01:00
2025-08-05 18:34:41 +02:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00
2026-01-08 18:58:22 +01:00
2025-08-05 18:34:41 +02:00
2026-01-08 18:58:22 +01:00
2025-08-05 18:34:41 +02:00
2026-02-13 15:08:47 +03:00
2026-02-13 15:08:47 +03:00