Fix: Do not url-encode @ in account urls

This commit is contained in:
Marcel Hellkamp 2023-07-15 10:01:59 +02:00
parent 7aec21f6c1
commit 3f50241a8d

View File

@ -260,7 +260,7 @@ const privacyLink = computed(() => {
<header v-if="config?.info === 'top'" class="secret-hover">
This wall shows <a :href="aboutLink" target="_blank" class="">{{ config.server }}</a> posts
<template v-if="config.accounts.length">by
<a v-for="a in config.accounts" class="me-1" :href="`https://${config.server}/@${encodeURIComponent(a)}`">@{{
<a v-for="a in config.accounts" class="me-1" :href="`https://${config.server}/@${encodeURIComponent(a).replace('%40','@')}`">@{{
a }}</a>
</template>
<template v-if="config.accounts.length && config?.tags.length"> or </template>