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

Invaild email subject when containing question mark character

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.3.5
    • Notification System
    • None

      When sending an email with a subject line containing a question mark character the subject line is not properly encoded. More precisely, question mark characters are not encoded by PHP's quoted_printable_encode function. phpBB will need to encode those characters itself.

      The quickest way to reproduce the error is to email another user or use the contact us form to send an email with a subject line containing question marks.

       

      Example subject line: Test?

      Incorrect encoding

      =?US-ASCII?Q?Test??=

      Correct encoding

      =?US-ASCII?Q?Test=3F?=

       

            Unassigned Unassigned
            NeoDev NeoDev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: