Skip to content

[5.x]: Google Authenticator shows html encoded characters for 2FA #16466

@lineke

Description

@lineke

What happened?

Description

When setting up the 2FA for the control panel in Craft 5 with Google Authenticator, the title that is shown after scanning the QR code has %20 and %40 in it, instead of a space or a @-sign.

Steps to reproduce

  1. Enable 2FA for the control panel
  2. With a new user, scan the QR code in Google Authenticator
  3. Check the title shown in Google Authenticator

Expected behavior

The title in Google Authenticator should not show %20 and %40

Actual behavior

Image

Craft CMS version

5.5.10

PHP version

8.2

Operating system and version

No response

Database type and version

Mysql

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions