Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-07-26 12:17:34 +0300
committerStan Hu <stanhu@gmail.com>2015-07-26 13:47:01 +0300
commit562242cb9dc11f0a5957a58eb9f91a484a909b40 (patch)
treea2e84f4464044c9c9286253d04783a1684934e53 /app/views/projects/tree
parent4a76cbe21907b92e53b168f3085c19d00be11f0b (diff)
Fix commit data retrieval when branch name has single quotes
Closes #1724
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r--app/views/projects/tree/_tree.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree.html.haml b/app/views/projects/tree/_tree.html.haml
index d304690d162..5048154cb2f 100644
--- a/app/views/projects/tree/_tree.html.haml
+++ b/app/views/projects/tree/_tree.html.haml
@@ -49,5 +49,5 @@
:javascript
// Load last commit log for each file in tree
$('#tree-slider').waitForImages(function() {
- ajaxGet('#{@logs_path}');
+ ajaxGet("#{escape_javascript(@logs_path)}");
});