Reviewed: https://reviews.mahara.org/8933 Committed: https://git.mahara.org/mahara/mahara/commit/6f4f15a5cfa169f6acf798bbd1826e91d125b86b Submitter: Robert Lyon (<email address hidden>) Branch: 17.04_STABLE
commit 6f4f15a5cfa169f6acf798bbd1826e91d125b86b 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)
Reviewed: https:/ /reviews. mahara. org/8933 /git.mahara. org/mahara/ mahara/ commit/ 6f4f15a5cfa169f 6acf798bbd1826e 91d125b86b
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE
commit 6f4f15a5cfa169f 6acf798bbd1826e 91d125b86b
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: I38cf1f6df7432d 70ced5fe5df84bd 56b47f1f163 fe57410e510293e 8d7cdd1d19)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 1c3d039b0f7c57c