Skip to content

Commit

Permalink
Fix links to faces with special chars
Browse files Browse the repository at this point in the history
fixes #1886

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr authored and backportbot-nextcloud[bot] committed Dec 3, 2023
1 parent 9f8cbbd commit 0149bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Faces.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<div v-else-if="!noFaces" class="faces__list">
<router-link v-for="face in orderedFaces"
:key="face.basename"
:to="`/faces/${face.basename}`">
:to="`/faces/${encodeURIComponent(face.basename)}`">
<FaceCover :base-name="face.basename" />
</router-link>
<router-link key="unassigned"
Expand Down

0 comments on commit 0149bbc

Please sign in to comment.