mirror of
https://github.com/discourse/discourse.git
synced 2026-07-30 08:08:20 -05:00
As part of #23816, which sought to strip out thousand separators, we also accidentally strip out signs. This is making it impossible to disable some settings which require a -1 to disable. Instead of stripping non-digits, strip anything that isn't a sign or a digit.