Fixes path segment sanitization allowing path separators

This commit is contained in:
BinaryAlley committed 2026-08-24 14:18:49 -07:00
1 parent c82fadc7a2
commit 942db4c90e
12 files changed
+442 -45

No files matched your search

@@ -35,16 +35,16 @@ public static class DomainLayerServices
services.AddScoped<IDirectoryProviderService, DirectoryProviderService>();
services.AddScoped<IFileProviderService, FileProviderService>();
services.AddScoped<IThumbnailService, ThumbnailService>();
services.AddScoped<IPathService, PathService>();
services.AddSingleton<IPathService, PathService>();
services.AddScoped<IFileTypeService, FileTypeService>();
services.AddScoped<IEnvironmentContext, EnvironmentContext>();
services.AddScoped<IPlatformContextFactory, PlatformContextFactory>();
services.AddScoped<IUnixPlatformContext, UnixPlatformContext>();
services.AddScoped<IWindowsPlatformContext, WindowsPlatformContext>();
services.AddScoped<IPlatformContextManager, PlatformContextManager>();
services.AddScoped<IUnixPathStrategy, UnixPathStrategy>();
services.AddScoped<IWindowsPathStrategy, WindowsPathStrategy>();
services.AddScoped<IOperatingSystemInfo, OperatingSystemInfo>();
services.AddSingleton<IPlatformContextFactory, PlatformContextFactory>();
services.AddSingleton<IUnixPlatformContext, UnixPlatformContext>();
services.AddSingleton<IWindowsPlatformContext, WindowsPlatformContext>();
services.AddSingleton<IPlatformContextManager, PlatformContextManager>();
services.AddSingleton<IUnixPathStrategy, UnixPathStrategy>();
services.AddSingleton<IWindowsPathStrategy, WindowsPathStrategy>();
services.AddSingleton<IOperatingSystemInfo, OperatingSystemInfo>();
services.AddScoped<IFileSystemStructureSeedService, FileSystemStructureSeedService>();
services.AddScoped<IMediaLibraryScanJobFactory, MediaLibraryScanJobFactory>();
services.AddScoped<IMediaLibraryScanningService, MediaLibraryScanningService>();