Make cbz file paths into OpenAPI path arguments #26

Merged
FrederikBaerentsen merged 1 commits from antifuchs/ComicOPDS:move-path-to-path into develop 2026-01-13 13:04:24 +01:00

1 Commits

Author SHA1 Message Date
antifuchs 5129bdbb3b Make cbz file paths into path OpenAPI arguments
FastAPI, in Query arguments, interprets characters like `+`, `;` and `'` in special ways (see https://github.com/fastapi/fastapi/issues/720), which causes issues with the requests that some clients such as Panels send: Receiving these bare characters results in request errors.

So in order to prevent that special handling, move the `path` argument into the URL path: That eliminates the special-handling of those characters, resulting in far more requests from affected clients succeeding.
2025-12-15 15:34:36 -05:00