[#12683] Admin log entries are not checked for max length of database fields
History
Updated: 2024-05-06 10:45
state: Open => Closed
Updated: 2024-03-30 09:18
resolution_id: 5 => 7
assigned_to_id: 100 => 12532
Updated: 2024-01-17 17:06
description: cms_adminlog table column item_name has type varchar(50). However, function audit() in lib\page.functions.php doesn't check nor truncates the value.
Insert will fail on database servers which have a strict mode enabled.
Sample use case:
Configure => For the record: this is about 2.2.19 too, but it doesn't show up in the dropdown.
cms_adminlog table column item_name has type varchar(50). However, function audit() in lib\page.functions.php doesn't check nor truncates the value.
Insert will fail
resolution_id: => 5