Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-72139

Encoding is lost after upgrading 3.9 to 3.9.8

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
    • MDL-72139-master
    • Hide
      1. You shoud have a Moodle with two students and both students have email notifications enabled for messages (you can access as admin to "Site administration > Messaging > Notification settings" and then enable Online and Offline "Personal messages between users "in the Email column).
      2. Open mailhog, mailcatcher or similar tool configured to capture emails from your Moodle site (or set one up). Note: Don't test it using Gmail. It works fine with and without the patch.
      3. Log in as student 1.
      4. Send student 2 this message, eg "Hello, السلام عليكم".
      5. Open mailhog and CONFIRM that you see the same message, including "This is a copy of a message ..." message at the end.
      6. Send student 2 another message, this time with some HTML and ending with an opening HTML comment, eg:

        <h1>Important message from Moodle</h1>
        <img src="https://moodle.org/theme/image.php/moodleorg/theme_moodleorg/1621925120/moodle_logo_small"><!--

      7. Check Mailhog and CONFIRM the "This is a copy of a message..." text is visible.

       

      Show
      You shoud have a Moodle with two students and both students have email notifications enabled for messages (you can access as admin to "Site administration > Messaging > Notification settings" and then enable Online and Offline "Personal messages between users "in the Email column). Open mailhog, mailcatcher or similar tool configured to capture emails from your Moodle site (or set one up). Note: Don't test it using Gmail. It works fine with and without the patch. Log in as student 1. Send student 2 this message, eg "Hello, السلام عليكم". Open mailhog and CONFIRM that you see the same message, including "This is a copy of a message ..." message at the end. Send student 2 another message, this time with some HTML and ending with an opening HTML comment, eg: <h1>Important message from Moodle</h1> <img src="https://moodle.org/theme/image.php/moodleorg/theme_moodleorg/1621925120/moodle_logo_small"><!-- Check Mailhog and CONFIRM the "This is a copy of a message..." text is visible.  
    • Moppies Kanban

      UTF-8 encoding is lost after upgrading Moodle 3.9.7+ (Build: 20210617) to Moodle 3.9.8 (Build: 20210712) | Version 2020061508 | Stable version.

      All emails are sent with wrong page encoding resulting in non readable email notifications

        1. issuepdf
          36 kB
          Ali Alhaidary
        2. mailcatcher_screenshot.png
          72 kB
          Sara Arjona (@sarjona)
        3. MDL-72139.jpg
          42 kB
          Anna Carissa Sadia
        4. reproduced_mailcatcher.png
          35 kB
          Sara Arjona (@sarjona)

            cescobedo Carlos Escobedo
            ali.alhaidary Ali Alhaidary
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.