Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13223

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

    XMLWordPrintable

    Details

      Description

      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>

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: