Noziro / MediaTracker

EXTREME ALPHA STATE. Track all of your media, from movies, to games, anime, books, and more. Official name TBD.
0 stars 0 forks source link

Add num_rows check to all (or most) SQLI queries. #32

Closed Noziro closed 3 years ago

Noziro commented 4 years ago

Currently, if a query provides 0 results, the application keeps trying to perform the action despite everything else assuming the query read at least 1 item. This is undesired behaviour on most of the platform, especially interface.php. This should be changed to redirect to either a database failure or a disallowed-action failure.

Noziro commented 3 years ago

I believe this has been sufficiently fixed for now. Will revisit if needed.