Heyuri / kokonotsuba

Heyuri's BBS software
Other
19 stars 12 forks source link

Banned IP addresses' list disappears if "post does not exist" error is called #58

Closed kaguy4 closed 9 months ago

kaguy4 commented 10 months ago

To Reproduce Steps to reproduce the behavior: 1- make a post (let's say it will be the 73th post on the board and your IP address is 123.456.234.45) 2- go that posts ban page (koko.php?mode=module&load=mod_adminban&no=73&ip=123.456.234.45) 3- put random numbers instead where it says "123.456.234.45" 4- repeat step 3 3-4 times so you have a non-empty ban list 5- go to koko.php?mode=module&load=mod_adminban 6- put random numbers in the IP area again and ban it 7- get the "ERROR: Post does not exist"

Describe the bug Doing so will wipe all bans except for the very last one which called this bug.

Expected behavior