Commit 609d185d authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/216179/fixesHistoryUrlBeingEncoded' into 'master'

Fixes the history button link being encoded incorrectly

Closes #216179

See merge request gitlab-org/gitlab!38392
parents 5006578a 5a57782a
import Vue from 'vue';
import { escapeFileUrl } from '../lib/utils/url_utility';
import createRouter from './router';
import App from './components/app.vue';
import Breadcrumbs from './components/breadcrumbs.vue';
......@@ -109,7 +110,7 @@ export default function setupVueRepositoryList() {
return h(TreeActionLink, {
props: {
path: `${historyLink}/${
this.$route.params.path ? encodeURIComponent(this.$route.params.path) : ''
this.$route.params.path ? escapeFileUrl(this.$route.params.path) : ''
}`,
text: __('History'),
},
......
---
title: Fixes the history button link URL being encoded incorrectly
merge_request: 38392
author:
type: fixed
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