No longer clean Newznab URLs when saving

This commit is contained in:
Mark McDowall 2012-12-26 14:33:42 -08:00
parent cd98fbb4fa
commit afef5ba0f4
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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);