diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-07-21 14:30:55 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-07-21 14:30:55 +0200 |
| commit | 4cc69f4be0a568ebc8c922dcf1f855458755ad85 (patch) | |
| tree | f3479573a223fe3acbd22faf6b3bf293ff5140d4 /src/Jellyfin.Extensions/PathHelper.cs | |
| parent | b99703301f43927f632bbc49d040a32824d43cb3 (diff) | |
Apply review suggestions
Diffstat (limited to 'src/Jellyfin.Extensions/PathHelper.cs')
| -rw-r--r-- | src/Jellyfin.Extensions/PathHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Jellyfin.Extensions/PathHelper.cs b/src/Jellyfin.Extensions/PathHelper.cs index f519cbb651..ab74a7749d 100644 --- a/src/Jellyfin.Extensions/PathHelper.cs +++ b/src/Jellyfin.Extensions/PathHelper.cs @@ -33,7 +33,7 @@ public static class PathHelper } var leaf = Path.GetFileName(fileName); - if (string.IsNullOrEmpty(leaf) || leaf == "." || leaf == "..") + if (string.IsNullOrEmpty(leaf) || string.Equals(leaf, ".", StringComparison.Ordinal) || string.Equals(leaf, "..", StringComparison.Ordinal)) { return null; } |
