Closed Tsunder closed 8 years ago
Commit 8904c1d8652956df2a6876f682e5ed1da5e71856 adds colored name sanitation.
Simple regex that matches on all ^****;
type values, and removes them. Works for ^#hex;
, ^color name;
and ^fades, shadows, etc...;
Name sanitizing doesn't apply to the /nick command.
PR #29 makes some fixes to this.
Handled in PR #33. Closing issue.
Sanitize player names always/upon join and when using /nick
remove coloring ^.*; remove duplicate spaces remove special/typeable characters (Limit to alphanumeric?) maybe truncate name length