2fast-team/2fast

Special HTML characters in QR code

Closed this issue · 2 comments

Describe the bug

The use of special HTML characters leads to a QR code recognition error

Steps to Reproduce

otpauth://totp/blabla%2Fblabla:blabla?secret=MKRHRNFEXRYLEOTR&issuer=blabla%2Fblalba
image

Expected behavior

Handling HTML characters and using them correctly, e.g. "%2F" = "/"

Thank you for reporting the problem. The problem is primary based in the determination of the icon for the service. The html characters have been implemented without errors. The second error is based in the string of the QR code, the standard is otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example and not blabla/blabla:blabla?

The error will be fixed with version 1.2.7.

grafik

Fixed in v1.2.7 (preview).