Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion msal/authority.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def user_realm_discovery(self, username):

def canonicalize(url):
# Returns (canonicalized_url, netloc, tenant). Raises ValueError on errors.
match_object = re.match("https://([^/]+)/([^/\?#]+)", url.lower())
match_object = re.match(r'https://([^/]+)/([^/?#\\]+)', url.lower())
if not match_object:
raise ValueError(
"Your given address (%s) should consist of "
Expand Down