The previous fix did not fully resolve the issue because it still allowed loading plugins from subdirectories of the plugins folder (e.g. plugins/something/something/test.jar).
Additionally, it didn't fix the issue at all if the server is running on Windows, since Java on Windows will also accept backslashes () as directory separator.
The previous fix did not fully resolve the issue because it still allowed loading plugins from subdirectories of the plugins folder (e.g. plugins/something/something/test.jar). Additionally, it didn't fix the issue at all if the server is running on Windows, since Java on Windows will also accept backslashes () as directory separator.