Closed enebe-nb closed 9 years ago
This seems good, but I'll need to do some thorough testing.
Thank you for your contribution. Are you aware of the bounty on this bug? https://www.bountysource.com/issues/8628820-feature-add-downloads-totals
I meant to ask before, how did you come across this issue and what lead you to make a fix?
Through bountysource, the issue looked easy and i gave a try.
Related issue: #10 Added downloads count as asked. Also added protection in 'info-hash' and 'peer_id' from sql injection (a 40 characters long info_hash was always concatenated without any filters). To check for vulnerabilities in another variables is recommended. 'name' column in 'torrents' table was disabled until you choose remove 'NOT NULL' or add 'DEFAULT'