encode url (#7968)
This commit is contained in:
@@ -332,7 +332,7 @@ export function createProxiedUrl(url: string): string {
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user