Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/22/2014 03:40:04 PM (11 years ago)
Author:
djpaul
Message:

Core, Activity: change the Activity table's primary_link column from varchar(255) to text.

This change will avoid unintended truncation for long URLs. This can be a problem for links
built from slugs written in double-byte languages, or for letters that have been URL encoded.

We've tried previously to fix this, in r5966. Better luck this time. :)

Fixes #5890, props tharsheblows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-schema.php

    r8567 r9168  
    137137                action text NOT NULL,
    138138                content longtext NOT NULL,
    139                 primary_link varchar(255) NOT NULL,
     139                primary_link text NOT NULL,
    140140                item_id bigint(20) NOT NULL,
    141141                secondary_item_id bigint(20) DEFAULT NULL,
Note: See TracChangeset for help on using the changeset viewer.