mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
Fixed: Handle download clients sending invalid content-type header.
DownloadStation incorrectly surrounds charset with double-quotes. whereas the http standard specifies they must be without quotes. fixes #1586
This commit is contained in:
@@ -145,7 +145,7 @@ namespace NzbDrone.Common.Http
|
||||
|
||||
if (charset.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
encoding = Encoding.GetEncoding(charset);
|
||||
encoding = Encoding.GetEncoding(charset.Replace("\"", ""));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user