mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-24 13:41:49 +01:00
fix: better sanity checking for bad plugin manifests
This commit is contained in:
parent
8e5db448b2
commit
678cd0f130
5 changed files with 28 additions and 7 deletions
|
|
@ -1889,7 +1889,7 @@ namespace Dalamud.Interface.Internal.Windows
|
|||
|
||||
return hasSearchString && !(
|
||||
manifest.Name.ToLowerInvariant().Contains(searchString) ||
|
||||
manifest.Author.Equals(this.searchText, StringComparison.InvariantCultureIgnoreCase) ||
|
||||
(!manifest.Author.IsNullOrEmpty() && manifest.Author.Equals(this.searchText, StringComparison.InvariantCultureIgnoreCase)) ||
|
||||
(manifest.Tags != null && manifest.Tags.Contains(searchString, StringComparer.InvariantCultureIgnoreCase)));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue