Closed adars47 closed 2 years ago
Not sure why you are calling urlencode()
inside urlencode()
. That will result in double-escaping!
Also, for the record, this doesn't only affect Microsoft Authenticator - other apps are also affected (e.g. FreeOTP).
Note that PR #76 contains an alternative solution to the same problem, though it also suffers from the double-escaping issue.
Microsoft authenticator needs that extra parameter to get the app name correct.