Opened 3 years ago
Closed 3 years ago
#1487096 closed Bugs (fixed)
Email length in addressbook is not checked in squirrelmail_usercopy plugin
| Reported by: | vojta | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.5-beta |
| Component: | Plugins | Version: | 0.4.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If very long email (>128) in imported from squirrelmail to addressbook, item is not imported and SQL error appears in log:
2010-11-01 14:05:57 CET ERROR: value too long for type character varying(128) 2010-11-01 14:05:57 CET STATEMENT: INSERT INTO contacts (user_id, changed, del, "name", "email", "firstname", "surname") VALUES (148, now(), 0, 'example', 'veryvery...verylongemail@…', 'example', 'example')
This error obviously also occurs if long multi-recipient contact (e.g. "alice@…; bob@…; cedric@…") is inserted, while squirrelmail supports this kind of addressbook item.
Change History (1)
comment:1 Changed 3 years ago by alec
- Milestone changed from later to 0.5-beta
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Fixed in r4167/svn.