-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Labels
enhancementIssue that describes a problem that requires a change in the current functionalities of Tatoeba.Issue that describes a problem that requires a change in the current functionalities of Tatoeba.good first issueEasy issue for new contributors to get started.Easy issue for new contributors to get started.
Milestone
Description
I tried to access a local tatoeba installation via IPv6. While going on the login page, the debug showed the following error. The IPv6 network Tatoeba is running on is fd01:2345:6789:abcd::/64.
Warning (512): SQL Error: 1062: Duplicate entry 'fd01:2345:6789:' for key 'ip' [CORE/cake/libs/model/datasources/dbo_source.php, line 526]
Query: INSERT INTO `visitors` (`timestamp`, `ip`) VALUES (1397479495, 'fd01:2345:6789:abcd:XXXX:XXXX:XXXX:XXXX')
Analysis : The length of the field visitors.ip in the database is too short to hold an IPv6, resulting in truncation while insterting values. The length of the fields holding IPs should be extended to at least 39 characters to fit the maximum size of an IPv6. This include : visitors.ip, contributions.ip and last_contributions.ip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementIssue that describes a problem that requires a change in the current functionalities of Tatoeba.Issue that describes a problem that requires a change in the current functionalities of Tatoeba.good first issueEasy issue for new contributors to get started.Easy issue for new contributors to get started.