app sends 404 code for /fallback and failing canonical #831

Merged
jessopb merged 2 commits from fourOhFourCode into master 2018-12-18 02:53:19 +01:00
jessopb commented 2018-12-18 01:43:45 +01:00 (Migrated from github.com)

Previously, the 404 page responded with 200 code.
Now it responds with 404 code when specifically the 'fallback' action from the /fallback controller exists.
Previously, an invalid claim such as /abcd/1234 responded with 200 code. Now it responds with a 404 code when canonicalUrl fails.
The home page and other redirects are unaffected.

Previously, the 404 page responded with 200 code. Now it responds with 404 code when specifically the 'fallback' action from the /fallback controller exists. Previously, an invalid claim such as /abcd/1234 responded with 200 code. Now it responds with a 404 code when canonicalUrl fails. The home page and other redirects are unaffected.
skhameneh (Migrated from github.com) approved these changes 2018-12-18 02:53:07 +01:00
skhameneh (Migrated from github.com) left a comment

I added line breaks for you

I added line breaks for you
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/spee.ch#831
No description provided.