Steps to reproduce:
- Navigate to Control Panel - Instance Settings - Icons Admin
- Click to add Icon Pack from existing icons
- Insert "CLAY " (with a space char in the end), add some icons from the original CLAY pack and Save.
- Remove the "CLAY " (with space) package.
- Refresh the page.
Adding an icon pack with the name "CLAY " should not be possible.
Adding an icon pack with the name "CLAY " is possible and after removing it, the unremovable main pack CLAY is also being removed from the portal.
Reproduced on: master
Last commit: 2b94f514ccdcae2dd084c6267b793c8b88eefc18