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

YUI: yui_combo.php STILL triggers 404 error on old or misconfigured IIS servers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.3
    • Fix Version/s: None
    • Component/s: JavaScript, Navigation, Themes
    • Labels:
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      This is related to issue MDL-28382, the fix applied in that case did not fix the issue for our environment:

      • Windows Server 2003
      • IIS 6
      • PHP 5.4

      In file moodle/theme/yui_combo.php on line 239 it appears that the if() statement incorrectly checks the $_SERVER['QUERY_STRING'] variable. There is no question mark and even if there were it doesn't remove it like the $_SERVER['REQUEST_URI'] check would. That line should be changed to:

      } else if (isset($_SERVER['QUERY_STRING']) and $_SERVER['QUERY_STRING'] != '') {
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              ryan.isd196 Ryan Panning
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: