Skip to content
Snippets Groups Projects

Improve file handling of special characters in WebIDE

Merged Kieran Andrews requested to merge hiddentiger/gitlab-ce:feature/webide_escaping into master
All threads resolved!
Files
2
@@ -3,7 +3,7 @@ import Api from '~/api';
@@ -3,7 +3,7 @@ import Api from '~/api';
export default {
export default {
getFileData(endpoint) {
getFileData(endpoint) {
return axios.get(endpoint.replace('#', '%23'), {
return axios.get(endpoint, {
params: { format: 'json', viewer: 'none' },
params: { format: 'json', viewer: 'none' },
});
});
},
},
Loading