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. |
||
|---|---|---|
| .. | ||
| RdtClient.Data | ||
| RdtClient.Service | ||
| RdtClient.Service.Test | ||
| RdtClient.Web | ||
| RdtClient.Web.Test | ||
| .gitignore | ||
| RdtClient.sln | ||
| RdtClient.sln.DotSettings | ||