Accept ipv6 addresses as moderator.
"http_authentication_method=None" will bypass HTTP AUTH and take the IP address as user name, but the "moderator" column in each database is limited to 20 chars, whereas IPv6 addresses may be as long as 39 chars. IPv6 was clearly not a consideration for development. Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
078973d862
commit
44676b3453
2 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ CREATE TABLE @sample@ (
|
|||
Header longblob NOT NULL,
|
||||
Body longblob NOT NULL,
|
||||
Spamcount float DEFAULT 0.0,
|
||||
Moderator varchar(20),
|
||||
Moderator varchar(40),
|
||||
Moddatum DATETIME,
|
||||
checksum char(40) UNIQUE,
|
||||
flag bool DEFAULT 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue