commit ddce7e888f825a5c58ad4a3834cf0eb4c5ef025b
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>
(cherry picked from commit ba36e509d2958380f1957b97274391ef6b90f6c4)
Reviewed: https:/ /reviews. mahara. org/8730 /git.mahara. org/mahara/ mahara/ commit/ ddce7e888f825a5 c58ad4a3834cf0e b4c5ef025b
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.04_STABLE
commit ddce7e888f825a5 c58ad4a3834cf0e b4c5ef025b
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: I6478df19465ad8 e1075343cb40e6f 5360061b56a 0f1957b97274391 ef6b90f6c4)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit ba36e509d295838