msimerson / Mail-Toaster-6

Mail Toaster 6
https://github.com/msimerson/Mail-Toaster-6/wiki
BSD 3-Clause "New" or "Revised" License
46 stars 16 forks source link

Fix check if jail is already enabled in enable_jail #518

Closed tuffnatty closed 1 year ago

tuffnatty commented 1 year ago

When JAIL_ORDERED_LIST contains a jail name which is a substring of another jail name, the former can't be enabled.

Changes proposed in this pull request: