Skip to content

Commit

Permalink
- Fix dispatch of PUT Services in NET Core when the Restpath is dupli…
Browse files Browse the repository at this point in the history
…cate and has path variables. Issue 104881 (#876)
  • Loading branch information
AlejandroP authored Sep 23, 2023
1 parent 2d21345 commit 4310766
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public bool GetSMap(string actualPath, string objectName, string objectNameUp,
{
foreach (SingleMap m in GXAPIModule.servicesMap[actualPath].Values)
{
if (!m.Path.Equals(m.PathRegexp) && GxRegex.IsMatch(objectName, m.PathRegexp))
if (!m.Path.Equals(m.PathRegexp) && GxRegex.IsMatch(objectName, m.PathRegexp) && m.Verb.Equals(requestType))
{
mapName = m.Name;
routeParms = new Dictionary<string, object>();
Expand Down

0 comments on commit 4310766

Please sign in to comment.