From 0f0cc236de0144ab75e393144479bfe1c7d8fd9d Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Thu, 15 Jan 2015 17:04:27 -0800 Subject: [PATCH] Fixed: support full any valid int32 as valid route ID --- src/NzbDrone.Api/REST/RestModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Api/REST/RestModule.cs b/src/NzbDrone.Api/REST/RestModule.cs index e7acab8f6..434dd804f 100644 --- a/src/NzbDrone.Api/REST/RestModule.cs +++ b/src/NzbDrone.Api/REST/RestModule.cs @@ -12,7 +12,7 @@ namespace NzbDrone.Api.REST where TResource : RestResource, new() { private const string ROOT_ROUTE = "/"; - private const string ID_ROUTE = @"/(?[\d]{1,7})"; + private const string ID_ROUTE = @"/(?[\d]{1,10})"; private Action _deleteResource; private Func _getResourceById;