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

Forms library API is not 100% compatible with Web Service requests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.7
    • Forms Library
    • MOODLE_37_STABLE

      Please, see MDL-65973 for reference.

      The form lib internaly do some sesskey checks to validate a form submission (for security, mostly).
      This is not compatible with WS requests so we've had to patch this via $USER->ignoresesskey

      Maybe we should look for a generic solution for this at the form library? formlibs.php _process_submission() function does the sesskey check. Should we ignore the sesskey check when the global WS_SERVER is set?

            Unassigned Unassigned
            jleyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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