Comment 3 for bug 1757330

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8712
Committed: https://git.mahara.org/mahara/mahara/commit/ba36e509d2958380f1957b97274391ef6b90f6c4
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit ba36e509d2958380f1957b97274391ef6b90f6c4
Author: Robert Lyon <email address hidden>
Date: Mon Mar 26 09:49:17 2018 +1300

Bug 1757330: PHP 7.1 is not keeping the session when exporting

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 <email address hidden>