summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mix.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index 30584cc92..0981ee856 100644
--- a/mix.exs
+++ b/mix.exs
@@ -212,7 +212,7 @@ defmodule Pleroma.Mixfile do
true <- branch_name != "master" do
branch_name =
String.trim(branch_name)
- |> String.replace(~r/[\W_]+/, "-")
+ |> String.replace(~r/[^0-9a-z\-\.]+/i, "-")
"-" <> branch_name
end