File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ Thick Mode Changes
19
19
Common Changes
20
20
++++++++++++++
21
21
22
+ #) Fixed the internal regular expression used for parsing :ref: `Easy Connect
23
+ <easyconnect>` strings to avoid errors with connection string arguments
24
+ containing the ``/ `` character.
25
+
22
26
23
27
oracledb 2.1.1 (March 2024)
24
28
---------------------------
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ CONTAINER_PARAM_NAMES = set((
51
51
# regular expression used for determining if a connect string refers to an Easy
52
52
# Connect string or not
53
53
EASY_CONNECT_PATTERN = \
54
- " ((?P<protocol>\w+)://)?(?P<host>[^:/ ]+)(:(?P<port>\d+)?)?/" \
54
+ " ^ ((?P<protocol>\w+)://)?(?P<host>[\w\d.- ]+)(:(?P<port>\d+)?)?/" \
55
55
" (?P<service_name>[^:?]*)(:(?P<server_type>\w+))?"
56
56
57
57
# dictionary of tnsnames.ora files, indexed by the directory in which the file
You can’t perform that action at this time.
0 commit comments