mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #43941
[Bug 1717861] [NEW] Redirect to incorrect port when sslproxy is on and wwwroot is set
Public bug reported:
When you have your mahara behind SSL proxy and have sslproxy enabled, it
redirects to incorrect port when you try to access pages which require
login.
When you get your mahara behind load balancer and nginx proxy on port 81
you get redirected to https://mahara.com:81/user/admin?login when try to
access https://mahara.com/user/admin as not logged in user.
Looks like function get_full_script_path tries to get a port even if
$CFG->wwwroot is set.
** Affects: mahara
Importance: Undecided
Assignee: Dmitrii Metelkin (dmitriim)
Status: New
** Changed in: mahara
Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1717861
Title:
Redirect to incorrect port when sslproxy is on and wwwroot is set
Status in Mahara:
New
Bug description:
When you have your mahara behind SSL proxy and have sslproxy enabled,
it redirects to incorrect port when you try to access pages which
require login.
When you get your mahara behind load balancer and nginx proxy on port
81 you get redirected to https://mahara.com:81/user/admin?login when
try to access https://mahara.com/user/admin as not logged in user.
Looks like function get_full_script_path tries to get a port even if
$CFG->wwwroot is set.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1717861/+subscriptions
Follow ups
-
[Bug 1717861] Re: Redirect to incorrect port when sslproxy is on and wwwroot is set
From: Robert Lyon, 2017-10-30
-
[Bug 1717861] Re: Redirect to incorrect port when sslproxy is on and wwwroot is set
From: Kristina Hoeppner, 2017-10-19
-
[Bug 1717861] Re: Redirect to incorrect port when sslproxy is on and wwwroot is set
From: Ghada El-Zoghbi, 2017-10-19
-
[Bug 1717861] A change has been merged
From: Mahara Bot, 2017-10-01
-
[Bug 1717861] A patch has been submitted for review
From: Mahara Bot, 2017-10-01
-
[Bug 1717861] A change has been merged
From: Mahara Bot, 2017-10-01
-
[Bug 1717861] Re: Redirect to incorrect port when sslproxy is on and wwwroot is set
From: Robert Lyon, 2017-10-01
-
[Bug 1717861] Re: Redirect to incorrect port when sslproxy is on and wwwroot is set
From: Robert Lyon, 2017-09-29
-
[Bug 1717861] A patch has been submitted for review
From: Mahara Bot, 2017-09-29
-
[Bug 1717861] Re: Redirect to incorrect port when sslproxy is on and wwwroot is set
From: Dmitrii Metelkin, 2017-09-29