tangled
alpha
login
or
join now
pds.ls
/
pdsls
398
fork
atom
atmosphere explorer
pds.ls
tool
typescript
atproto
398
fork
atom
overview
issues
1
pulls
pipelines
decode URL oauth redirect parameters
handle.invalid
1 month ago
f39f84e7
51b11b66
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+1
-1
1 changed file
expand all
collapse all
unified
split
src
auth
session-manager.ts
+1
-1
src/auth/session-manager.ts
···
43
43
44
44
export const retrieveSession = async (): Promise<void> => {
45
45
const init = async (): Promise<Session | undefined> => {
46
46
-
const params = new URLSearchParams(location.hash.slice(1));
46
46
+
const params = new URLSearchParams(decodeURIComponent(location.hash.slice(1)));
47
47
48
48
if (params.has("state") && (params.has("code") || params.has("error"))) {
49
49
history.replaceState(null, "", location.pathname + location.search);