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

wwwroot is not being trimmed of its trailing slash correctly.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: MNet
    • Labels:
      None
    • Environment:
      All
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE

      Description

      The bootstrap method of the mnet_peer object should check for and remove any trailing slash from the wwwroot config variable, but the substr call was faulty, causing trailing slashes to be ignored.

      This fix may break networking functionality for people who already have it configured. In this case they should edit the wwwroot field in their mnet_host table to remove the trailing slash.

        Attachments

          Activity

            People

            Assignee:
            donal@catalyst.net.nz Donal McMullan
            Reporter:
            donal@catalyst.net.nz Donal McMullan
            Tester:
            Nobody
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: