Opened 16 years ago
Closed 16 years ago
#8133 closed defect (bug) (fixed)
Redirection to options.php after session destroyed
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
Scenario: I had 2 tabs open making changes to the settings. I logged out from one tab. When I clicked "Save Changes" in the other, I was sent to the login page where the redirect_url query value sent me to options.php instead of options-general.php.
It does that because the actions on all the forms are to 'options.php'. When the login check is performed and fails, redirect_url is set with the REQUEST_URI of .../options.php instead of whatever options page the user was on prior to that.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [9775]) Do not redirect to options.php on login if user was POSTing to options.php from another page. props fitztrev. fixes #8133