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
|
|
@ -9,6 +9,7 @@ huhu 0.11.0 (unreleased)
|
||||||
* Fix headers with continuation immediately at start.
|
* Fix headers with continuation immediately at start.
|
||||||
* Add cronjob to remove old backup messages.
|
* Add cronjob to remove old backup messages.
|
||||||
* Hide MySQL config for unauthenticated users.
|
* Hide MySQL config for unauthenticated users.
|
||||||
|
* Accept ipv6 addresses as moderator.
|
||||||
|
|
||||||
huhu 0.10 (unknown)
|
huhu 0.10 (unknown)
|
||||||
* huhu reports version 0.09 (from MOD/Displaylib.pm), but has code
|
* huhu reports version 0.09 (from MOD/Displaylib.pm), but has code
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ CREATE TABLE @sample@ (
|
||||||
Header longblob NOT NULL,
|
Header longblob NOT NULL,
|
||||||
Body longblob NOT NULL,
|
Body longblob NOT NULL,
|
||||||
Spamcount float DEFAULT 0.0,
|
Spamcount float DEFAULT 0.0,
|
||||||
Moderator varchar(20),
|
Moderator varchar(40),
|
||||||
Moddatum DATETIME,
|
Moddatum DATETIME,
|
||||||
checksum char(40) UNIQUE,
|
checksum char(40) UNIQUE,
|
||||||
flag bool DEFAULT 0,
|
flag bool DEFAULT 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue