The previous fix compared subPath directly against the sanitized torrent name, which fails when RdName contains characters removed by RemoveInvalidPathChars (e.g. ':' on Windows). Extract and normalize the first component of subPath before comparing so both sides go through the same sanitization. Add tests covering the duplicate-prefix stripping case. |
||
|---|---|---|
| .. | ||
| BackgroundServices | ||
| Helpers | ||
| Services | ||
| GlobalSuppressions.cs | ||
| RdtClient.Service.Test.csproj | ||