diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-07-26 10:07:39 +0200 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-07-27 15:03:04 +0200 |
commit | f05bcf54ab25728e53bca8e24ceb8c7db2157cfa (patch) | |
tree | 1110ba24eee85e7de080921b1d68110d549b6b19 | |
parent | 49f2c6c11c0d3428afcf67e2f6f10748af5641a8 (diff) | |
download | gitlab-ce-f05bcf54ab25728e53bca8e24ceb8c7db2157cfa.tar.gz |
Maybe that fixes the escaping in the URL
-rw-r--r-- | app/views/projects/tree/_tree_content.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml index ac3c784375d..3fb2fba9973 100644 --- a/app/views/projects/tree/_tree_content.html.haml +++ b/app/views/projects/tree/_tree_content.html.haml @@ -1,4 +1,4 @@ -.tree-content-holder.js-tree-content{ 'data-logs-path': escape_javascript(@logs_path) } +.tree-content-holder.js-tree-content{ 'data-logs-path': "#{escape_javascript(@logs_path)}" } .table-holder %table.table#tree-slider{ class: "table_#{@hex_path} tree-table" } %thead |