Closed davidAtInleague closed 1 year ago
Generating a TOTP secret with an issuer containing whitespace in it encodes the whitespace using + instead of %20, which then decodes incorrectly in Google Authenticator. Looks like this is the default behavior of encodeForURL on Lucee.
+
%20
encodeForURL
Fixed in v1.0.9
Generating a TOTP secret with an issuer containing whitespace in it encodes the whitespace using
+
instead of%20
, which then decodes incorrectly in Google Authenticator. Looks like this is the default behavior ofencodeForURL
on Lucee.