From facf1f30f2e4f04b0e891c8f61747bd155248549 Mon Sep 17 00:00:00 2001 From: sjuarezgx Date: Wed, 8 Jun 2022 18:59:01 -0300 Subject: [PATCH] Fix broken issue. Path was null --- dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs b/dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs index b1deaadaa..ad04ca893 100644 --- a/dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs +++ b/dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs @@ -188,7 +188,7 @@ public Task ProcessRestRequest(HttpContext context) string path = context.Request.Path.ToString(); string actualPath = string.Empty; - if (path.Contains($"/{restBaseURL}") || ServiceInPath(path, out actualPath) || (AzureRuntime && path.Contains(oauthRoute))) + if (path.Contains($"/{restBaseURL}") | ServiceInPath(path, out actualPath) | (AzureRuntime && path.Contains(oauthRoute))) { string controllerWithParms = string.Empty; if (!AzureRuntime)