clean_path should drop all trailing dots, not just one
This commit is contained in:
parent
2794e57beb
commit
706be56317
|
@ -62,7 +62,7 @@ class Namespace < ActiveRecord::Base
|
|||
path.gsub!(/@.*\z/, "")
|
||||
path.gsub!(/\.git\z/, "")
|
||||
path.gsub!(/\A-/, "")
|
||||
path.gsub!(/\.\z/, "")
|
||||
path.gsub!(/\.+\z/, "")
|
||||
path.gsub!(/[^a-zA-Z0-9_\-\.]/, "")
|
||||
|
||||
counter = 0
|
||||
|
|
Loading…
Reference in New Issue