Use safer method of URL parsing

This commit is contained in:
Eric Bailey
2025-03-17 16:48:33 -05:00
parent 4b7bda705e
commit e570adc9f4
+1 -1
View File
@@ -323,7 +323,7 @@ export function createBskyAppAbsoluteUrl(path: string): string {
export function createProxiedUrl(url: string): string {
let u
try {
u = URL.parse(url)
u = new URL(url)
} catch {
return url
}