Skip to content

Commit 376ca48

Browse files
committed
fix: acceptance of submission path
1 parent dff85c4 commit 376ca48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyeudiw/openid4vp/presentation_submission/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ def _extract_position(self, path: str) -> int:
109109
:return: Tuple of position and path.
110110
:rtype: tuple[str, str]
111111
"""
112+
if path == "$":
113+
return 0
112114
pattern = r"\$[a-z_\-\.]*\[(\d+)\]"
113115
match = re.match(pattern, path, re.I)
114116
if match:

0 commit comments

Comments
 (0)