-
Notifications
You must be signed in to change notification settings - Fork 121
Description
Description
When a plugin file contains spaces in its filename (for example: "this is a mod.py"), the plugin manager UI completely breaks and becomes unusable.
This issue started appearing since BombSquad 1.7.53 and has been reported by multiple users across different devices and platforms.
Steps to reproduce
- Launch BombSquad
- Place a plugin file in the mods directory with spaces in its name, e.g. "my plugin.py"
- Open the plugin manager
- The interface fails to load or crashes
Expected behavior
The UI should remain functional and display a message asking the user to rename the file (for example to "my_plugin.py") instead of crashing.
Machine
Platform: Ubuntu 22.04.5 LTS x86_64
Host: Lenovo IdeaPad S145-14API
BombSquad version: 1.7.53
Screenshots/Video
video-plugins-error-1.7.53.5.mp4
Extra
The problem seems to occur when the plugin manager attempts to parse or register files whose names contain spaces, which leads to a failure in the UI initialization.
A simple validation step could prevent the crash by showing a user-facing correction message and skipping invalid filenames.