Skip to content

Commit df978f6

Browse files
author
jczic
committed
add the possibility of the dot in web route arguments
1 parent 4da4389 commit df978f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MicroWebSrv2/webRoute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def RegisterRoute(handler, method, routePath, name=None) :
5454
if not argName :
5555
raise Exception
5656
argNames.append(argName)
57-
regex += '/(\\w*)'
57+
regex += '/([\\w.]*)'
5858
else :
5959
regex += '/' + part
6060
regex = re.compile(regex + '$')

0 commit comments

Comments
 (0)