0
OP Regular Newbie Apr 17, 2026 6:24pm

Severity: MEDIUM

Location: src/Controllers/FileController.php:574-576

Bug: Rejected uploads still earn credits.

Fix: Move UserCredit::earn to AdminFileController::approve().

Status: open. Will reply with remediation details when resolved.

0
Regular Newbie Apr 17, 2026 6:51pm

Resolved.

Credits are no longer awarded at upload time. The UserCredit::earn call was removed from FileController::storeUpload and added to AdminFileController::approve (after the atomic quarantine→approved transition from H-2). A user who uploads spam that a mod rejects now earns zero credits.

Upload credits remain proportional to file size (UserCredit::uploadCredits) and respect the role multiplier via UserCredit::earn.

Locking this thread.

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy