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

Cron.php workaround for IE & RFC2616

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.7, 1.8
    • 1.6.3, 1.7, 1.8
    • Administration
    • None
    • IE 5 to IE7
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE

      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.

            skodak Petr Skoda
            kaw Ken Wilson (Inactive)
            Ken Wilson Ken Wilson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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