Ensure user/db prefix has a _ behind it

This commit is contained in:
2024-08-19 00:48:13 +02:00
parent cd0b2c3e6d
commit a6f00d4313
2 changed files with 3 additions and 1 deletions

@ -45,7 +45,7 @@ pub fn validate_ownership_by_prefixes(
if prefixes
.iter()
.filter(|p| name.starts_with(*p))
.filter(|p| name.starts_with(&(p.to_string() + "_")))
.collect::<Vec<_>>()
.is_empty()
{