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

Cron.php workaround for IE & RFC2616

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.3, 1.7, 1.8
    • Fix Version/s: 1.7, 1.8
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      IE 5 to IE7
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      Internet Explorer does not obey RFC2616 when handling the Content-type: text/plain part of the header - it (sometimes) thinks the output contains HTML and tries to download/display the cron.php output instead of displaying it in the browser window. See forum post: http://moodle.org/mod/forum/discuss.php?d=56954.

      Possible workaround is to set content-type as text/html and add a <pre> </pre> pair to format. This makes cron output readable for IE users and has no effect on FF users.

      Diff against HEAD is attached.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skodak Petr Skoda
                Reporter:
                kaw Ken Wilson
                Tester:
                Ken Wilson
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  7/Nov/06