You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Result is that the server creates new ARKs infinitely, with 34,000 minted by the time the error was reported to me.
It's a weird choice to input a negative number (user wanted to see what would happen), but would be good to prevent that kind of input from getting through.
The text was updated successfully, but these errors were encountered:
Testing out how POST requests work, user input a negative number (
-1
) into the "How many ARKs would you like to mint?" field (https://github.com/digitalutsc/arks-service/blob/main/admin/admin.php#L1051).This results in an infinite loop here: https://github.com/digitalutsc/arks-service/blob/main/admin/admin.php#L1065-L1067
Result is that the server creates new ARKs infinitely, with 34,000 minted by the time the error was reported to me.
It's a weird choice to input a negative number (user wanted to see what would happen), but would be good to prevent that kind of input from getting through.
The text was updated successfully, but these errors were encountered: