mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Use case-insensitive matching in nameMatchesPath (#2378)
* Use case-insensitive matching in nameMatchesPath Also ensures that only unique words are returned in getPathWords.
This commit is contained in:
@@ -54,6 +54,12 @@ func Test_nameMatchesPath(t *testing.T) {
|
||||
"before_first last/after",
|
||||
6,
|
||||
},
|
||||
{
|
||||
"within string case insensitive",
|
||||
name,
|
||||
"before FIRST last/after",
|
||||
6,
|
||||
},
|
||||
{
|
||||
"not within string",
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user