Compare commits

...

1 Commits

Author SHA1 Message Date
Eric Bailey e570adc9f4 Use safer method of URL parsing 2025-03-17 16:48:33 -05:00
+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
}