We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7fcadf commit fcbd4ddCopy full SHA for fcbd4dd
1 file changed
src/satosa/micro_services/attribute_modifications.py
@@ -81,7 +81,7 @@ def _shibmdscope_match_value(self, value, md_scopes):
81
for md_scope in md_scopes:
82
if not md_scope['regexp'] and md_scope['text'] == value:
83
return True
84
- elif md_scope['regexp'] and re.compile(md_scope['text']).match(value):
+ elif md_scope['regexp'] and re.fullmatch(md_scope['text'], value):
85
86
return False
87
0 commit comments