mirror of
https://github.com/ppy/osu.git
synced 2025-03-25 09:28:45 +08:00
Closes https://github.com/ppy/osu/issues/31398. Rationale given in issue. Compare stable logic: -2280c4c436/osu
!/GameModes/Edit/Forms/SongSetup.cs#L118-L122 -2280c4c436/osu
!common/Helpers/GeneralHelper.cs#L410-L423 The control character check is a bit gratuitous (text boxes will already not allow insertion of those, seee05cb86ff6/osu.Framework/Graphics/UserInterface/TextBox.cs (L92)
), but as it's a general helper I figured might as well.