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. |
||
|---|---|---|
| .. | ||
| CredentialRedactorEnricher.cs | ||
| DownloadHelper.cs | ||
| FileHelper.cs | ||
| FileSizeHelper.cs | ||
| IDelayProvider.cs | ||
| JsonModelBinder.cs | ||
| Logger.cs | ||
| RateLimitHandler.cs | ||