[buddypress-trac] [BuddyPress Trac] #7448: Trailing slash needed for URLs for compatibility with LiteSpeed

buddypress-trac noreply at wordpress.org
Wed Jun 14 21:00:00 UTC 2017


#7448: Trailing slash needed for URLs for compatibility with LiteSpeed
--------------------------+--------------------
 Reporter:  allianse      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  Core          |     Version:  2.8.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Old description:

> There is a problem for accept a friend with Bosstheme and LiteSpeed Web
> Server
>
> Please find the file attached with modified lines:
>
> * ORIGINAL SCRIPT
>                  */
>                  //return apply_filters(
> 'bp_get_friend_accept_request_link', wp_nonce_url(
> bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/accept/' .
> $friendship_id, 'friends_accept_friendship' ), $friendship_id );
>
>                 /**
>                  * UPDATED SCRIPT (23-FEB-2017)
>                  * To avoid the Accept request URL issue
>                  */
>                  return apply_filters(
> 'bp_get_friend_accept_request_link', wp_nonce_url(
> bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/accept/' .
> $friendship_id.'/', 'friends_accept_friendship' ), $friendship_id );
>         }
>
> Please modify the file before release next update
>
> Regards

New description:

 There is a problem for accept a friend with Bosstheme and LiteSpeed Web
 Server

 Please find the file attached with modified lines:

 {{{#!php
 /**
  * ORIGINAL SCRIPT
  */
  //return apply_filters( 'bp_get_friend_accept_request_link',
 wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() .
 '/requests/accept/' . $friendship_id, 'friends_accept_friendship' ),
 $friendship_id );
 }}}

 {{{#!php
 /**
  * UPDATED SCRIPT (23-FEB-2017)
  * To avoid the Accept request URL issue
  */
 return apply_filters( 'bp_get_friend_accept_request_link', wp_nonce_url(
 bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/accept/' .
 $friendship_id.'/', 'friends_accept_friendship' ), $friendship_id );
 }}}

 Please modify the file before release next update

 Regards

--

Comment (by johnjamesjacoby):

 (Editing the formatting of the original report a bit.)

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


More information about the buddypress-trac mailing list