mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-23 09:07:32 +00:00
No longer clean Newznab URLs when saving
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user