From 4aa21a68d25e512aa5894193e86058b199e79053 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Tue, 24 May 2022 11:08:12 +0300 Subject: [PATCH] - - Web server add EqualNoParam --- Sources/pyOpenRPA/Orchestrator/Server.py | 5 +++++ changelog.md | 1 + 2 files changed, 6 insertions(+) diff --git a/Sources/pyOpenRPA/Orchestrator/Server.py b/Sources/pyOpenRPA/Orchestrator/Server.py index 02a992f8..8e115059 100644 --- a/Sources/pyOpenRPA/Orchestrator/Server.py +++ b/Sources/pyOpenRPA/Orchestrator/Server.py @@ -368,6 +368,11 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler): if inURLItem["URL"].upper() == urllib.parse.unquote(self.path).upper(): URLItemDo(inURLItem, self, gSettingsDict) return True + # check Match type variant: EqualNoParam + elif inURLItem["MatchType"].upper() == "EQUALNOPARAM": + if inURLItem["URL"].upper() == urllib.parse.unquote(self.path).upper().split("?")[0]: + URLItemDo(inURLItem, self, gSettingsDict) + return True # check Match type variant: EqualCase elif inURLItem["MatchType"].upper() == "EQUALCASE": if inURLItem["URL"] == urllib.parse.unquote(self.path): diff --git a/changelog.md b/changelog.md index 606bc183..13fadc7b 100644 --- a/changelog.md +++ b/changelog.md @@ -11,6 +11,7 @@ AGT - AGENT - - Web server auto detect MIME type from the file name - - Raise debug session from production. Support init_debug file in working directory - - You can change the index page (def WebURLIndexChange) +- - Web server add EqualNoParam - - MANAGERS - - - ControlPanel - - - Git CI