Commit 5eb45b6efc977c819cdd9153ab09180faef1d31a

Authored by Daniel
Committed by Diego Camarinha
1 parent 4cd09d9f

Strip repository URL.

Signef-off-by: Diego Araújo <diegoamc90@gmail.com>
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/controllers/repositories_controller.rb
... ... @@ -116,6 +116,7 @@ private
116 116  
117 117 # Never trust parameters from the scary internet, only allow the white list through.
118 118 def repository_params
  119 + params[:repository][:address].strip!
119 120 params[:repository]
120 121 end
121 122  
... ...