← Back to team overview

mahara-contributors team mailing list archive

[Bug 1446426] Re: Bulk user export page has a redirect that doesn't work with subdirectories.

 

** Changed in: mahara/15.10
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released

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