Skip to content

Commit

Permalink
fix: adjust host regex
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-neto committed Feb 26, 2025
1 parent 6929c41 commit c538874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/akamai/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def get_input_hostname(values: List[str]) -> str:
else:
pattern = value.replace('.', r'\\.')
patterns.append(pattern)
return r"\\^(%s)(\\?.*)?$" % "|".join(patterns)
return r"^(%s)$" % "|".join(patterns)


def get_redirect_target(options):
Expand Down

0 comments on commit c538874

Please sign in to comment.