AO3-4059 Change chapters_controller to 404 if given work id is invalid#5929
Open
Bilka2 wants to merge 3 commits into
Open
AO3-4059 Change chapters_controller to 404 if given work id is invalid#5929Bilka2 wants to merge 3 commits into
Bilka2 wants to merge 3 commits into
Conversation
Bilka2
force-pushed
the
AO3-4059-chapters-should-404
branch
from
July 12, 2026 14:02
6375a46 to
7a4d5a9
Compare
Contributor
Author
|
Note for self, desired behavior, should be covered by tests:
|
Bilka2
marked this pull request as draft
July 13, 2026 08:14
Bilka2
marked this pull request as ready for review
July 14, 2026 11:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
https://otwarchive.atlassian.net/browse/AO3-4059
Purpose
Changed the chapters controller so it 404s if the work id in the URL is invalid, instead of redirecting to the homepage.
Changed the chapters controller so it 404s if the chapter id in the URL is invalid and no work id is given.
References
PR Limit: 7 out of 5
Using reviewer bonus:
#4928
#5024
Credit
Bilka