Getting an Undefined index: QUERY_STRING when logging in
Bug #1774309 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
17.04 |
Fix Released
|
High
|
Unassigned | ||
17.10 |
Fix Released
|
High
|
Unassigned | ||
18.04 |
Fix Released
|
High
|
Unassigned | ||
18.10 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
If trying to access a page requiring login the system remembers the path (QUERY_STRING) you were trying to access. So when login is successful it will redirect to that page.
But if you login from the homepage there can be no QUERY_STRING to redirect to
Noticed when doing behat tests
Changed in mahara: | |
assignee: | nobody → Robert Lyon (robertl-9) |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/8927 /git.mahara. org/mahara/ mahara/ commit/ 1c3d039b0f7c57c fe57410e510293e 8d7cdd1d19
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 1c3d039b0f7c57c fe57410e510293e 8d7cdd1d19
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
Signed-off-by: Robert Lyon <email address hidden>