[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 Jan 7 23:38:38 UTC 2013


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

 * keywords:  needs-patch => has-patch


Comment:

 Attached a patch.

 Had to do this at the javascript level since the AJAX call relies on it.

 I've created a new JS function called `bp_get_cookies()`, which loops
 through all available cookies and only passes cookies with the 'bp-'
 prefix.

 Let me know what you guys think!

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


More information about the buddypress-trac mailing list