1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-08 03:19:15 +00:00

fix!: make wildcard matching in callback URLs more stricter (#1161)

This commit is contained in:
Elias Schneider
2025-12-22 16:15:10 +01:00
parent ba2f0f18f4
commit 078152d4db
5 changed files with 989 additions and 21 deletions

View File

@@ -7,6 +7,7 @@
import { LucideExternalLink } from '@lucide/svelte';
import type { Snippet } from 'svelte';
import type { HTMLAttributes } from 'svelte/elements';
import FormattedMessage from '../formatted-message.svelte';
type WithoutChildren = {
children?: undefined;
@@ -51,7 +52,7 @@
{/if}
{#if description}
<p class="text-muted-foreground mt-1 text-xs">
{description}
<FormattedMessage m={description} />
{#if docsLink}
<a
class="relative text-black after:absolute after:bottom-0 after:left-0 after:h-px after:w-full after:translate-y-[-1px] after:bg-white dark:text-white"