Fixed: Search fails for many artist and albums with specials (#466)

* Fixed: Search fails for many artist/albums with specials

* fixup! Replace & with space

* fixup! Add two more test cases

* fixup! Add last test case

* fixup: Newznab test case
This commit is contained in:
Qstick
2018-09-04 22:55:08 -04:00
committed by GitHub
parent 23bc5b11cf
commit 812af82fae
10 changed files with 51 additions and 36 deletions
@@ -31,8 +31,8 @@ namespace NzbDrone.Core.Indexers.Omgwtfnzbs
pageableRequests.Add(GetPagedRequests(string.Format("{0}+{1}",
searchCriteria.Artist.Name,
searchCriteria.AlbumTitle)));
searchCriteria.ArtistQuery,
searchCriteria.AlbumQuery)));
return pageableRequests;
@@ -44,7 +44,7 @@ namespace NzbDrone.Core.Indexers.Omgwtfnzbs
pageableRequests.Add(GetPagedRequests(string.Format("{0}",
searchCriteria.Artist.Name)));
searchCriteria.ArtistQuery)));
return pageableRequests;