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

It loses equal sign in selfregistration link

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7.4
    • Fix Version/s: None
    • Component/s: Authentication, Libraries
    • Labels:
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      This is the link that arived to mail indox:

      http://10.152.5.245/moodle/login/confirm.php?datawMnPz2CGLMiXEE1/aadfasdfasd

      moodle sends the self registration email in html, encoded as quoted-printable.

      The equal sign is lost whith quoted-printable encoding.

      I have a 2 possible solutions:

      .1 lib/moodlelib.php line 5872: $mail->Encoding = '8bit'; // before quoted-printable
      .2 lib/moodlelib.php line 6097: $data->link = $CFG->wwwroot .'/login/confirm.php?data=3D'. $user->secret .'/'. $username; // added 3D

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xabim Xabi Martín
                Participants:
                Component watchers:
                Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: