Filter out some more wildcard paths
This commit is contained in:
parent
6bf79b1fec
commit
e097ad230c
2 changed files with 1 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue