mirror of
https://git.sprinternet.at/h44z/gitlab_to_gitea.git
synced 2024-11-21 22:33:05 +00:00
Add missing regex chars
This commit is contained in:
parent
933627610a
commit
5b0435c8b2
@ -617,7 +617,7 @@ def print_error(message):
|
||||
|
||||
def name_clean(name):
|
||||
newName = name.replace(" ", "_")
|
||||
newName = re.sub(r"[^a-zA-Z0-9_]", "-", newName)
|
||||
newName = re.sub(r"[^a-zA-Z0-9_-\.]", "-", newName)
|
||||
|
||||
if (newName.lower() == "plugins"):
|
||||
return newName + "-user"
|
||||
|
Loading…
Reference in New Issue
Block a user