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

Public path checker should check for new UPGRADING.md files

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • Hide
      1. Log in as admin
      2. Navigate to Site Admin > Reports > Security checks in site administration
      3. Press Check all public / private paths
      4. Confirm the following URLs in the table show an error:
        • UPGRADING.md
        • reportbuilder/UPGRADING.md
        • UPGRADING-CURRENT.md (If your site does not have it, it is okay to skip)
      5. Follow setup instructions from MDL-69333 for your webserver
        • For Apache, replace the following line:

          # RewriteRule "(\/upgrade\.txt)" - [F]
          

        • ... with the following:

          RewriteRule "\/(upgrade\.txt|UPGRADING\.md|UPGRADING\-CURRENT\.md)" - [F] 

      6. Restart web server process
      7. Re-visit the Check all public / private paths check
      8. Confirm the previous URLs in the report table now do not show error
      Show
      Log in as admin Navigate to Site Admin > Reports > Security checks in site administration Press Check all public / private paths Confirm the following URLs in the table show an error: UPGRADING.md reportbuilder/UPGRADING.md UPGRADING-CURRENT.md (If your site does not have it, it is okay to skip) Follow setup instructions from MDL-69333 for your webserver For Apache, replace the following line: # RewriteRule "(\/upgrade\.txt)" - [F] ... with the following: RewriteRule "\/(upgrade\.txt|UPGRADING\.md|UPGRADING\-CURRENT\.md)" - [F] Restart web server process Re-visit the Check all public / private paths check Confirm the previous URLs in the report table now do not show error

      Following on from MDL-69333, which detects publicly served upgrade.txt files - we should also detect the new UPGRADING.md files generated by MDL-81125

        1. result_1.png
          result_1.png
          162 kB
        2. result_2.png
          result_2.png
          118 kB

            pholden Paul Holden
            pholden Paul Holden
            Andrew Lyons Andrew Lyons
            Huong Nguyen Huong Nguyen
            Huong Nguyen Huong Nguyen
            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 - 4 hours, 16 minutes
                4h 16m

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