[buddypress-trac] [BuddyPress Trac] #6307: Friend request link returns 404 error if user is not logged into website

buddypress-trac noreply at wordpress.org
Mon Apr 27 14:32:08 UTC 2015


#6307: Friend request link returns 404 error if user is not logged into website
---------------------------------+----------------------
 Reporter:  wrowlands            |       Owner:  dcavins
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:
Component:  Component - Friends  |     Version:  1.0
 Severity:  normal               |  Resolution:  invalid
 Keywords:  needs-patch          |
---------------------------------+----------------------
Changes (by dcavins):

 * status:  reviewing => closed
 * resolution:   => invalid
 * milestone:  Future Release =>


Comment:

 A standard BuddyPress installation produces the following behavior:

 1. User receives an email containing a link:
 http://bptest.local/members/eighteen/friends/requests/

 2. Upon clicking on the link (without being logged in), "bpnoaccess"
 access protection kicks in, sending the user off to `wp-login.php` with
 the redirect included: http://bptest.local/wp-
 login.php?redirect_to=http%3A%2F%2Fbptest.local%2Fmembers%2Feighteen%2Ffriends%2Frequests%2F&action=bpnoaccess

 3. Upon successful login, the user is taken to the requested screen.

 I'm closing this ticket because BuddyPress appears to be handling access
 gracefully in this case.  @wrowlands, please respond if you can provide
 more information about how to reproduce the behavior that you're seeing.
 I'm guessing that the problem could be a URL rewrite issue or another
 plugin that is changing the login redirect.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6307#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list