mirror of https://github.com/Sonarr/Sonarr
No longer clean Newznab URLs when saving
This commit is contained in:
parent
cd98fbb4fa
commit
afef5ba0f4
|
@ -100,6 +100,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
}
|
||||
|
||||
[Test]
|
||||
[Ignore("No longer clean newznab URLs")]
|
||||
public void SaveAll_should_clean_urls_before_updating()
|
||||
{
|
||||
//Setup
|
||||
|
|
|
@ -60,7 +60,7 @@ namespace NzbDrone.Core.Providers
|
|||
foreach(var newznabDefinition in definitionsList)
|
||||
{
|
||||
CheckHostname(newznabDefinition.Url);
|
||||
newznabDefinition.Url = new Uri(newznabDefinition.Url).ParentUriString();
|
||||
//newznabDefinition.Url = new Uri(newznabDefinition.Url).ParentUriString();
|
||||
}
|
||||
|
||||
_database.UpdateMany(definitionsList);
|
||||
|
|
Loading…
Reference in New Issue