Don't strip query parameters on in-app navigation (#9948)

This commit is contained in:
surfdude29
2026-03-17 18:43:37 +00:00
committed by GitHub
parent 1386a559b7
commit b9a3256e51
+1 -6
View File
@@ -194,12 +194,7 @@ export function convertBskyAppUrlIfNeeded(url: string): string {
return startUriToStarterPackUri(urlp.pathname)
}
// special-case search links
if (urlp.pathname === '/search') {
return `/search?q=${urlp.searchParams.get('q')}`
}
return urlp.pathname
return urlp.pathname + urlp.search
} catch (e) {
console.error('Unexpected error in convertBskyAppUrlIfNeeded()', e)
}