Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32999 META: Files UI Stage 2 polishing in master
  3. MDL-33445

Inserting a file by reference bypasses the file size limit check

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 2.3
    • Filepicker, Repositories
    • MOODLE_23_STABLE
    • Hide

      1. Login as teacher/admin
      2. Add some big file to your private files or to course legacy files and some small file
      3. Edit some course settings and set the file size limit less than size of big file in #2 (but more than small file size)
      4. Create file/folder resource
      5. Try inserting files from your private files as shortcut/alias, make sure you can insert only small file.

      Show
      1. Login as teacher/admin 2. Add some big file to your private files or to course legacy files and some small file 3. Edit some course settings and set the file size limit less than size of big file in #2 (but more than small file size) 4. Create file/folder resource 5. Try inserting files from your private files as shortcut/alias, make sure you can insert only small file.

      When inserting file as an alias/shortcut the repository/repository_ajax.php does not check if it exceeds $maxbytes

      keywords: maxbytes file_is_draft_area_limit_reached file_get_draft_area_info maxareabytes alias shortcut aliases shortcuts

            marina Marina Glancy
            marina Marina Glancy
            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.