Other: Negative UTC offset in local environment results in banned IP "localhost" during account creation #1881
Labels
bug/error
Bugs and errors (timeout)
complexity: unknown
Unknown days of work
globalization
Globalization, internationalization, locales, timezones
priority: low
Issues/Tasks that are not so important
Website (required)
VocaDB
Describe the bug (required)
ran into some kind of miserable timezone problem at http://localhost:5000/User/Create
TZ='America/Juneau' dotnet run ...
results inSuspicious registration form fill time (-08:59:50.9613057) from ::1. / Adding temp banned IP ::1
(calculated difference of negative 9 hours)TZ='Atlantic/Azores' dotnet run ...
results inSuspicious registration form fill time (-00:59:50.4225254) from ::1. / Adding temp banned IP ::1
(calculated difference of negative 1 hour)TZ
)(TooFastRegistrationException is checking for differences of less than 2 seconds, it seems?)
not sure if this is a VocaDB problem or a dotnet problem? doesn't seem to be a browser problem (it happens in both Firefox and Chromium)
https://discord.com/channels/309072240639737866/1271565701601296506/1306522628051173467
Checklist (required)
Fill out the checklist. Use
strikethroughsor leave fields empty if you don't know or are unable to check/test.The text was updated successfully, but these errors were encountered: