[buddypress-trac] [BuddyPress] #3280: Invalid URLs are incorrectly handled
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sun Jun 12 19:20:21 UTC 2011
#3280: Invalid URLs are incorrectly handled
---------------------+-----------------
Reporter: DJPaul | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: 1.3
Component: Core | Version:
Keywords: |
---------------------+-----------------
Alot of BuddyPress URLs are not handling invalid URLs correctly. Make sure
you have wp_debug set.
These must 404, not redirect back to the home page or a component's root
page:
1) http://example.com/groups/INVALID/ (and all subdirs, i.e. /forum/,
/members/, and so on).
2) http://example.com/groups/valid/INVALID/
3) http://example.com/groups/valid/forum/INVALID
4) http://example.com/members/INVALID/
5) http://example.com/members/valid/INVALID/
If a valid component is on the URL, I think that component should be
responsible for handling 404s within that component, rather than letting
it fall back to BP_Core, e.g.
{{{
$wp_query->set_404();
status_header( 404 );
nocache_headers();
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3280>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list