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

smtphosts validation too much strict

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.6, 1.9.2
    • Fix Version/s: 1.8.7, 1.9.3
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      I was testing MDL-15922, when discovered that the "smtphosts" setting performs validation against PARAM_HOST.

      This leaves out possible configurations like:

      • onehost;anotherhost (multiple hosts separated by semicolon)
      • host:port (host with port)

      Should be fixed, IMO. Ciao

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Oct/08