Base64 is case sensitive.
This commit is contained in:
parent
2415e19316
commit
9385651dcd
@ -92,7 +92,7 @@ checkSessionId text = do
|
||||
let bs = TE.encodeUtf8 text
|
||||
decoded <- either (const Nothing) Just $ B64URL.decode bs
|
||||
guard (B8.length decoded == 18)
|
||||
return $ S $ T.toLower text
|
||||
return $ S text
|
||||
|
||||
|
||||
-- | Securely generate a new SessionId.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user