Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix Path extractor error in v1.2 OPDS router #514

Merged
merged 3 commits into from
Dec 8, 2024

Conversation

aaronleopold
Copy link
Collaborator

Fixes #513

This was a classic instance of organizing the router layers incorrectly, so the API key middleware was being run for both variants of the router instead of just when the :api-key path hits a match.

This is a pretty large bug that somehow went missed for the 3-4 weeks this sat in the nightly image lol I'll release 0.0.9 as a hotfix ideally tomorrow

Copy link

codecov bot commented Dec 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
apps/server/src/routers/opds/v1_2.rs 0.00% 19 Missing ⚠️
Files with missing lines Coverage Δ
apps/server/src/routers/opds/v1_2.rs 0.00% <0.00%> (ø)

@aaronleopold aaronleopold merged commit b06ee48 into develop Dec 8, 2024
6 checks passed
@aaronleopold aaronleopold deleted the al/fix-opds1.2-path-issue branch December 8, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant