mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
reject_bad_name and reject_bad_text doesn't directly sanitize. It's best not to rely on this proc to sanitize as that's not the point of it, even though it can sanitize as part of its functioning. Instead, we explicitly sanitize the input first, then we reject_bad_whatever on the sanitized input. It also offers improved feedback to the user instead of failing silently, and allows numbers as some of our ID cards (For example, prisoner IDs) have numbers in their registered_names and assignments. I don't like creating the game world in a state that players cannot also replicate themselves. Also swings by the ancient HTML interfaces to bring them up to the same standard through either sanitizing input or stripping input as appropriate.