mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #26541
[Bug 1446426] A change has been merged
Reviewed: https://reviews.mahara.org/4680
Committed: http://gitorious.org/mahara/mahara/commit/b42f2bd1e5f3110bcf76602c3bd39ac01c185a36
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit b42f2bd1e5f3110bcf76602c3bd39ac01c185a36
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date: Tue Apr 21 12:50:26 2015 +1200
The redirect URL on the bulk export page should be absolute
Bug 1446426. Relative URLs don't work if your Mahara wwwroot
is a subdirectory, e.g. http://example.com/mahara
Change-Id: Idfbb4c1a81191a41c25fc816eec784cd14df7637
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1446426
Title:
Bulk user export page has a redirect that doesn't work with
subdirectories.
Status in Mahara ePortfolio:
Fix Committed
Status in Mahara 15.04 series:
In Progress
Status in Mahara 15.10 series:
Fix Committed
Bug description:
This is a bug that shows up after you have successfully downloaded the
bulk export from admin/users/bulkexport.php.
To replicate:
1. Set up your Mahara site so there is a subdirectory in its wwwroot. (e.g.: http://example.com/mahara/)
2. Go to http://example.com/mahara/admin/users/bulkexport.php and bulk export some users.
Expected result: You download the ZIP file, and are redirected back to http://example.com/mahara/admin/users/bulkexport.php
Actual result: You download the ZIP file, but are redirected to the broken URL http://example.com/admin/users/bulkexport.php
The problem is that the success redirect URL is a relative URL
(/admin/users/bulkexport.php), when it needs to be an absolute URL
starting with $CFG->wwwroot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1446426/+subscriptions
References