mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Allow path components with three or more dots in filter patterns
This commit is contained in:
parent
35ae6d62ee
commit
c9ca20a1e2
2 changed files with 16 additions and 1 deletions
|
|
@ -903,8 +903,17 @@ struct {
|
|||
/* invalid standalone root and standalone double-star patterns */
|
||||
{ "/", 0 },
|
||||
{ "/**/", 0 },
|
||||
{ ".", 0 },
|
||||
{ "..", 0 },
|
||||
{ "/./", 0 },
|
||||
{ "/../", 0 },
|
||||
|
||||
/* valid single and multi-level patterns */
|
||||
{ "...", 1 },
|
||||
{ ".../", 1 },
|
||||
{ "/.../", 1 },
|
||||
{ "....", 1 },
|
||||
{ "/foo/.../bar", 1 },
|
||||
{ "/foo/", 1 },
|
||||
{ "/foo/**/", 1 },
|
||||
{ "/**/foo/", 1 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue