No longer clean Newznab URLs when saving

pull/21/head
Mark McDowall 12 years ago
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…
Cancel
Save