Commit e8e7fb3c authored by Dylan Griffith's avatar Dylan Griffith

Merge branch '329690-web-ide-cannot-open-branches-containing-a-character' into 'master'

Resolve "Web IDE cannot open branches containing a '|' character"

See merge request gitlab-org/gitlab!67360
parents cf8ebf70 509e0a62
...@@ -178,7 +178,7 @@ module TreeHelper ...@@ -178,7 +178,7 @@ module TreeHelper
def web_ide_button_data(options = {}) def web_ide_button_data(options = {})
{ {
project_path: project_to_use.full_path, project_path: project_to_use.full_path,
ref: ActionDispatch::Journey::Router::Utils.escape_path(@ref), ref: @ref,
is_fork: fork?, is_fork: fork?,
needs_to_fork: needs_to_fork?, needs_to_fork: needs_to_fork?,
......
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