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

print_continue should create a method="get" button, not post

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • 1.9
    • Libraries
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      For example, restore a course. At the end of a backup, there is a continue button that takes you to the newly restored course. When you get there, if you click reload, you get a warning from your browser about repeating a POST. That is wrong.

      I have reviewed all 117 places in the main code where print_continue is called, and I don't think changing it to a GET will break anything.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08