A terminal UI for Libby libbui.vinnymac.dev

fix(downloads): refuse plain-HTTP content, licence and reader URLs

Content links, cover URLs, Adobe operator and licence URLs and reader origins from the API were accepted over plain HTTP, and the content client followed redirects from HTTPS to HTTP. Every URL the engine or the Adobe processor fetches must now be HTTPS (Adobe's own endpoints are still upgraded). The content client refuses redirects to anything else. A refusal fails the job for good with a localised reason naming the host. Plain HTTP to loopback stays possible for wiremock, only in this crate's tests and through the test-loopback-http feature, which libbui enables from its dev-dependencies alone.


Author Vincent Taverna Date Commit Parent 1b183528
+418 -1
14 changed files
+418 -1
14 changed files