Skip to content

Commit 571b8f7

Browse files
author
a-panizza_globant
committed
- Fixed OPTIONS methods
1 parent c65c619 commit 571b8f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/dotnetframework/GxClasses/Middleware/HandlerFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ public bool GetSMap(string actualPath, string objectName, string objectNameUp,
285285
}
286286
}
287287
}
288-
if (pathFound)
289-
{
288+
if (pathFound && !requestType.Equals( HttpMethod.Options.Method))
289+
{
290290
mapName = null;
291291
mapRegexp = null;
292292
routeParms = null;

0 commit comments

Comments
 (0)