Comment 5 for bug 1774309

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

Reviewed: https://reviews.mahara.org/8931
Committed: https://git.mahara.org/mahara/mahara/commit/58fe82f88173cb129b64890a3982586245217a84
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.04_STABLE

commit 58fe82f88173cb129b64890a3982586245217a84
Author: Robert Lyon <email address hidden>
Date: Thu May 31 13:44:27 2018 +1200

Bug 1774309: Only redirect with QUERY_STRING when it exists

If trying to access a page requiring login the system remembers the
path (QUERY_STRING) you were trying to access when login is successful

But if you login from the homepage there can be no QUERY_STRING set

Noticed when doing behat tests

behatnotneeded

Change-Id: I38cf1f6df7432d70ced5fe5df84bd56b47f1f163
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 1c3d039b0f7c57cfe57410e510293e8d7cdd1d19)