-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Hi,
in koolreport/src/processes/Group.php you calculate $index by concatenating group column values and then:
$index = strtolower($index) . md5($index);
there are 2 big issues here:
- case sensitivity depends on md5() having a collision or not
- it totally breaks when one group column value optionally starts with something that another group column value optionally ends with
You should do implode($sepchar,$groupvalues) instead where $sepchar is one character that you need to ensure is not in the input by deleting them before. Good candidate is "\x00".
Metadata
Metadata
Assignees
Labels
No labels