Reviewed: https://reviews.mahara.org/8932 Committed: https://git.mahara.org/mahara/mahara/commit/ea361fcc6cb3beb31741adfab74e84ec1e186762 Submitter: Robert Lyon (<email address hidden>) Branch: 17.10_STABLE
commit ea361fcc6cb3beb31741adfab74e84ec1e186762 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/8932 /git.mahara. org/mahara/ mahara/ commit/ ea361fcc6cb3beb 31741adfab74e84 ec1e186762
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.10_STABLE
commit ea361fcc6cb3beb 31741adfab74e84 ec1e186762
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