Skip to content

Page-independent actions should return 404 on non-existent pages #85

Open
dandv opened this Issue Aug 10, 2011 · 1 comment

2 participants

@dandv
MojoMojo member
dandv commented Aug 10, 2011

.recovery_pass, for instance, is independent of what page it was called on, but it can be called on invalid pages without returning a 404. This causes search engine bots to keep indexing such invalid pages that they somehow build URLs for.

Example: http://mojomojo.org/bogus/page/hey.recover_pass

More can be found by grepping a popular MojoMojo installation's access logs.

@marcusramberg
MojoMojo member

These are the ones allowed now - Maybe leave edit/render and remove the rest?
/^(edit|render|login|logout|register|recover_pass)$/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.