Skip to content

Commit

Permalink
Encode URI parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf King <[email protected]>
  • Loading branch information
rkg-mm committed Dec 10, 2023
1 parent 7e786fb commit 029924f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/portfolio/projects/ProjectDependencyGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default {
// tree with component search active
this.createSearchedComponentLookupTable(this.$route.params.componentUuids);
this.loading = true
let url = `${this.$api.BASE_URL}/${this.$api.URL_COMPONENT}/project/${this.project.uuid}/dependencyGraph/${this.$route.params.componentUuids}`
let url = `${this.$api.BASE_URL}/${this.$api.URL_COMPONENT}/project/${this.project.uuid}/dependencyGraph/${encodeURIComponent(this.$route.params.componentUuids)}`
this.axios.get(url).then(response => {
if (response.data && Object.keys(response.data).length > 0){
this.notFound = false
Expand Down

0 comments on commit 029924f

Please sign in to comment.