[buddypress-trac] [BuddyPress] #4606: Long cookie value can lead to 414 Long Request Error resulting in AJAX failing

buddypress-trac noreply at wordpress.org
Mon Apr 22 05:01:54 UTC 2013


#4606: Long cookie value can lead to 414 Long Request Error resulting in AJAX
failing
------------------------------------+---------------------
 Reporter:  r-a-y                   |       Owner:  r-a-y
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  1.8
Component:  Theme                   |     Version:  1.2
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch early commit  |
------------------------------------+---------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"6940"]:
 {{{
 #!CommitTicketReference repository="" revision="6940"
 Only pass BP-related cookies to BP AJAX queries.

 Previously, we would pass all cookies to admin-ajax.php.  This could
 potentially lead to a '414 Long Request' error because of the length of
 the
 querystring, resulting in the AJAX request failing.

 This commit only passes cookies with the 'bp-' prefix to admin-ajax.php,
 thus limiting the length of the URI request.

 Fixes #4606.
 }}}

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


More information about the buddypress-trac mailing list