The banlists (IPs, user agents and badwords) are organised in entries in a text field, which are splitted only by a linebreak. The processing code for the banlists orders the entries of a list with the PHP function natcasesort before storing them in the database which generates lists one can easy search in with scrolling the lists. Doing this, I came across the fact, that the lists can contain doubled entries (why ever) and that this is not handled by the processing code.
The banlists (IPs, user agents and badwords) are organised in entries in a text field, which are splitted only by a linebreak. The processing code for the banlists orders the entries of a list with the PHP function
natcasesort
before storing them in the database which generates lists one can easy search in with scrolling the lists. Doing this, I came across the fact, that the lists can contain doubled entries (why ever) and that this is not handled by the processing code.This should be solvable with the use of the PHP function
array_unique
.See also the description of #726.