Filter out some more wildcard paths

This commit is contained in:
mtkennerly 2024-04-22 08:59:06 -04:00
parent 6bf79b1fec
commit e097ad230c
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
2 changed files with 1 additions and 16 deletions

View file

@ -60,7 +60,7 @@ fn too_broad(path: &str) -> bool {
}
for item in placeholder::AVOID_WILDCARDS {
if path.starts_with(&format!("{item}/*")) {
if path.starts_with(&format!("{item}/*")) || path.starts_with(&format!("{item}/{STORE_USER_ID}")) {
return true;
}
}