Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • mahara mahara
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • mahara
  • maharamahara
  • Repository
Switch branch/tag
  • mahara
  • htdocs
  • export
  • download.php
Find file BlameHistoryPermalink
  • Robert Lyon's avatar
    Bug 1757330: PHP 7.1 is not keeping the session when exporting · 9f1f94ff
    Robert Lyon authored Mar 26, 2018 and Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic committed Mar 27, 2018
    
    
    We do a bunch of iframe / js tricks to get the progress bar to work
    and then rely on session for the file name to serve it at the end
    
    This change just passes only the file name to the js redirect and then
    rebuilds the full path on return. Because we use the user's id in full
    path we can make sure only the valid logged in user can fetch the file
    
    behatnotneeded
    
    Change-Id: I6478df19465ad8e1075343cb40e6f5360061b56a
    Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
    (cherry picked from commit ba36e509)
    9f1f94ff

Replace download.php

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.