mirror of
https://github.com/Jackett/Jackett
synced 2025-02-24 15:21:06 +00:00
parent
42e6600c6a
commit
748881ef70
1 changed files with 2 additions and 0 deletions
|
@ -340,11 +340,13 @@ namespace Jackett.Server.Controllers
|
||||||
|
|
||||||
if (CurrentQuery.ImdbID != null)
|
if (CurrentQuery.ImdbID != null)
|
||||||
{
|
{
|
||||||
|
/* We should allow this (helpful in case of aggregate indexers)
|
||||||
if (!string.IsNullOrEmpty(CurrentQuery.SearchTerm))
|
if (!string.IsNullOrEmpty(CurrentQuery.SearchTerm))
|
||||||
{
|
{
|
||||||
logger.Warn($"A search request from {Request.HttpContext.Connection.RemoteIpAddress} was made containing q and imdbid.");
|
logger.Warn($"A search request from {Request.HttpContext.Connection.RemoteIpAddress} was made containing q and imdbid.");
|
||||||
return GetErrorXML(201, "Incorrect parameter: please specify either imdbid or q");
|
return GetErrorXML(201, "Incorrect parameter: please specify either imdbid or q");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
CurrentQuery.ImdbID = ParseUtil.GetFullImdbID(CurrentQuery.ImdbID); // normalize ImdbID
|
CurrentQuery.ImdbID = ParseUtil.GetFullImdbID(CurrentQuery.ImdbID); // normalize ImdbID
|
||||||
if (CurrentQuery.ImdbID == null)
|
if (CurrentQuery.ImdbID == null)
|
||||||
|
|
Loading…
Reference in a new issue