[Tickets #7715] Bookmarks silently truncated at 255 chars

bugs at horde.org bugs at horde.org
Sat Nov 22 21:28:01 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7715
------------------------------------------------------------------------------
  Ticket             | 7715
  Created By         | felix.leimbach at gmx.net
  Summary            | Bookmarks silently truncated at 255 chars
  Queue              | Trean
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


felix.leimbach at gmx.net (2008-11-22 16:28) wrote:

I found that some URLs I entered in Trean did not work properly when accessed.
Investigating, I found that the URL is silently truncated at around  
250 chars when you save a bookmark.

The cause:
The field bookmark_url in the trean_bookmarks DB table is of type  
VARCHAR(255). Changing to VARCHAR(8192) fixed the problem for me. Note  
that MySQL prior to version 5.0 has a maximum VARCHAR lengths of 255,  
so you might want to use the text type instead.





More information about the bugs mailing list