Skip to content

Commit ce450a7

Browse files
committed
Removing backslash from pattern
1 parent 67b3d60 commit ce450a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal/authority.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def user_realm_discovery(self, username):
6565

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

0 commit comments

Comments
 (0)