Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

The /archive action should return a 404 when an invalid second path param is used #5

Closed
rgrove opened this issue Jun 30, 2009 · 1 comment
Labels

Comments

@rgrove
Copy link
Owner

rgrove commented Jun 30, 2009

The /archive action supports numeric path parameters to indicate page numbers, such as /archive/2. However, if an invalid or out of range parameter, such as /archive/foo, is specified, the first archive page is returned.

This can result in dupe content in search engines. Instead of returning the first page of results, /archive/foo should return a 404.

@rgrove
Copy link
Owner Author

rgrove commented Jul 14, 2009

Return 404 for out of bounds archive pages. losed by 24c99a1

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant