Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handling case senstivity
Browse files Browse the repository at this point in the history
Signed-off-by: ahmedsobeh <ahmed.sobeh@aiven.io>
ahmedsobeh committed Jul 3, 2024
1 parent 334ff97 commit a90ce54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valkey/_parsers/url_parser.py
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ def parse_url(url: str, async_connection: bool):
parsed: ParseResult = urlparse(url)
kwargs: ConnectKwargs = {}
pattern = re.compile(
r"^(?:" + "|".join(map(re.escape, supported_schemes)) + r")://"
r"^(?:" + "|".join(map(re.escape, supported_schemes)) + r")://", re.IGNORECASE
)
if not pattern.match(url):
raise ValueError(

0 comments on commit a90ce54

Please sign in to comment.