aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common/FileSafety.cs
AgeCommit message (Collapse)AuthorLines
2026-09-07add IsRootDirectoryOf and IsSubDirectoryOf to FileSafetyJP Dillingham-0/+55
2026-06-06wipJP Dillingham-5/+6
2026-06-06small tweaksJP Dillingham-6/+8
2026-06-06small tweaksJP Dillingham-6/+8
2026-06-05stop using any Path.* method, because they are all fucked up and untestableJP Dillingham-2/+16
2026-06-04wipJP Dillingham-2/+4
2026-06-04don't strip roots or restore slashesJP Dillingham-19/+3
2026-06-04fix junkJP Dillingham-5/+0
2026-06-03use OperatingSystem instead of the other thingJP Dillingham-25/+30
2026-06-01add leading slashes back when SanitizePath and retainRoot = trueJP Dillingham-1/+12
2026-06-01gracefully handle nullsJP Dillingham-1/+21
2026-05-31tweak root handlingJP Dillingham-3/+8
2026-05-31i want to be done with thisJP Dillingham-9/+51
2026-05-31fix GetFileNameSafely test casesJP Dillingham-4/+9
2026-05-31use method instead of inlineJP Dillingham-5/+1
2026-05-31always split by both slashesJP Dillingham-5/+4
2026-05-31make slskqt regex slash optionalJP Dillingham-1/+1
2026-05-30more tests, make root stripping optionalJP Dillingham-9/+13
2026-05-30remove the option to strip the root when getting directoryJP Dillingham-7/+1
2026-05-30paths ending in a slash don't have a fileJP Dillingham-0/+5
2026-05-30add SanitizePathSegmentJP Dillingham-5/+22
2026-05-30extract StripPathRootJP Dillingham-0/+23
2026-05-30add get filename/directory name safely methods, overload sanitizefilename ↵JP Dillingham-0/+63
with sanitizePathRoot
2026-05-28testsJP Dillingham-1/+0
2026-05-27strip soulseek qt prefixes tooJP Dillingham-0/+4
2026-05-26add sanitize functions to FileSafetyJP Dillingham-0/+106
2026-05-23make CombineSafely() even saferJP Dillingham-3/+21
2026-05-22adjust FileSafety testsJP Dillingham-3/+20
2026-05-18fix path detection (again)JP Dillingham-18/+30
2026-05-13add FileSafetyJP Dillingham-0/+149