Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13223

Using get_username_string() for email template variables causes HTML markup in emails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0
    • 3.1.0-RC6
    • Notification System
    • None

      Support topic: https://www.phpbb.com/community/viewtopic.php?f=466&t=2268416

      admin_activate_user.php notification type is assigning usernames to email template variables using user_loader->get_username() in 'no_profile' mode, which in its turn calls get_username_string() function in 'no_profile' mode. This causes HTML markup in emails for username colour, like

      <span class="username">XXXXXX</span>

            naderman Nils Adermann
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: