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

Email attachements with symlinked temp dir

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.5
    • Fix Version/s: 2.8.7, 2.9.1
    • Component/s: General
    • Labels:
    • Testing Instructions:
      Hide

      1. Set up tempdir as a symlinked directory
      2. Send an email using email_to_user function with an attachement stored in the tempdir (eg. facetoface module ical attachement)

      Expected result: Email with attachement should send

      Show
      1. Set up tempdir as a symlinked directory 2. Send an email using email_to_user function with an attachement stored in the tempdir (eg. facetoface module ical attachement) Expected result: Email with attachement should send
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49787_email_attachments_symlink_fix

      Description

      We've come across a bug in the email_to_user function whereby some attachments will not send correctly if the tempdir is a symlinked directory, as the path matching check will.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iamandrew Andrew Davidson
              Reporter:
              iamandrew Andrew Davidson
              Peer reviewer:
              Simey Lameze
              Integrator:
              Dan Poltawski
              Tester:
              Dave Cooper
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                6/Jul/15