encode url

This commit is contained in:
Hailey
2025-03-11 12:47:01 -07:00
parent 26fb0a7f17
commit 7375159682
+1 -1
View File
@@ -332,7 +332,7 @@ export function createProxiedUrl(url: string): string {
return url return url
} }
return `https://go.bsky.app/redirect?u=${url}` return `https://go.bsky.app/redirect?u=${encodeURIComponent(url)}`
} }
export function isShortLink(url: string): boolean { export function isShortLink(url: string): boolean {