BigW Consortium Gitlab

Commit 64408fce by Dmitriy Zaporozhets

Merge branch 'master' of github.com:gitlabhq/gitlabhq

parents 0d50a65b eb2ce79d
require 'mime/types'
require 'uri'
module API
# Projects API
......@@ -103,7 +104,7 @@ module API
delete ":id/repository/branches/:branch" do
authorize_push_project
result = DeleteBranchService.new(user_project, current_user).
execute(params[:branch])
execute(URI.unescape(params[:branch]))
if result[:status] == :success
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment