Things this must do:

      • Check filesystem to ensure uploads will fit before accepting the upload
      • Check content length when upload starts to ensure the upload will fit
      • Stream upload direct to disk (don't keep in memory!)
      • Limit upload size to 1GB for attachments, and 100mb for export (or some other sane numbers)
      • Once file is uploaded, detect the type of file of the upload (gzip, zip, bzip2, plain text, tar.gz, tar.bz2), calculate size of decompressed content, and fail if decompressing would fill disk
      • Decompress content
      • Clean up appropriately if anything fails

              Assignee:
              James Roper [Atlassian]
              Reporter:
              James Roper [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified