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
path: root/app/views
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-05 01:03:18 +0300
committerRobert Speicher <robert@gitlab.com>2016-05-05 01:03:18 +0300
commit915a4193b433575a63fd4f5048b341d417b06426 (patch)
treed375fb99938284e025c97535a5de5ccaa1c03273 /app/views
parent950ab1e8470011bda4a2c481fc73e12df391dddf (diff)
parent75523d1df91cc871847a00cad4e5e1d44278a647 (diff)
Merge branch 'sanitize-new-project-error-message' into 'master'
Sanitize repo paths in new project error message Closes #17243 See merge request !4029
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/imports/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/imports/new.html.haml b/app/views/projects/imports/new.html.haml
index 6027fb23360..a8a8caf7280 100644
--- a/app/views/projects/imports/new.html.haml
+++ b/app/views/projects/imports/new.html.haml
@@ -10,7 +10,7 @@
.panel-body
%pre
:preserve
- #{@project.import_error.try(:strip)}
+ #{sanitize_repo_path(@project.import_error)}
= form_for @project, url: namespace_project_import_path(@project.namespace, @project), method: :post, html: { class: 'form-horizontal' } do |f|
= render "shared/import_form", f: f