Skip to content

Commit

Permalink
fix: allow dash
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 27, 2024
1 parent 1b47c8d commit bf28546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weblate_web/hetzner.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def generate_subaccount_data(
dirname: str, service: Service, customer: Customer
) -> dict[str, str]:
# Remove not allowed characters
customer_name = re.sub(r"[^\w,.&]+", " ", customer.name)
customer_name = re.sub(r"[^\w,.&-]+", " ", customer.name)
return {
"homedirectory": f"weblate/{dirname}",
"ssh": "1",
Expand Down

0 comments on commit bf28546

Please sign in to comment.