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
- Enable 2FA for the control panel
- With a new user, scan the QR code in Google Authenticator
- Check the title shown in Google Authenticator
Expected behavior
The title in Google Authenticator should not show %20 and %40
Actual behavior

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
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
Expected behavior
The title in Google Authenticator should not show %20 and %40
Actual behavior
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